Git reset not working
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I made a commit, pulled and merged some changes, and then made a second commit. When I wanted to go back to the first commit, I ran the command git reset --hard <sha hash> While the response was "HEAD is now at <sha hash>", my code looks just as it did before I ran that command. Usually, it changes to what I had before, but it looks like something isn't working correctly. Do I need to run a different command to unmerge before resetting head? Extra info When I run git status it says: app/assets/images/.DS_Store.orig is untracked and I can add