标签: git branch
我的操作是:
我发现我的更改消失了。
答案 0 :(得分:1)
结帐时(顺便使用git switch)origin/a,您就在detached head mode。
git switch
origin/a
您应该:
git switch a
a
git branch -avv
git reflog
git cherry-pick <sha1>