5
Git:无法撤消本地更改(错误:路径…未合并)
我有以下工作树状态 $ git status foo/bar.txt # On branch master # Unmerged paths: # (use "git reset HEAD <file>..." to unstage) # (use "git add/rm <file>..." as appropriate to mark resolution) # # deleted by us: foo/bar.txt # no changes added to commit (use "git add" and/or "git commit -a") 文件foo/bar.txt在那里,我想再次使其变为“不变状态”(类似于“ …
336
git
git-checkout
git-reset