How to make detached head the original branch?
This question already has an answer here:
如果你想忘记你的改变,只需将你的本地分支设置在远程分支所在的位置:
git checkout local-branch git reset --hard the-remote/remote-branch
下一篇: 如何让分离的头部原来的分支?
This question already has an answer here:
如果你想忘记你的改变,只需将你的本地分支设置在远程分支所在的位置:
git checkout local-branch git reset --hard the-remote/remote-branch
下一篇: 如何让分离的头部原来的分支?