我想撤消我的git pull因为远程源上的不需要的提交,但我不知道我必须重置为哪个版本.
在对远程原点进行git拉取之前,我怎样才能回到状态?
Git pull命令工作正常,但git stash发出以下错误:
$git stash
error: unable to resolve reference refs/stash: No such file or directory
fatal: Cannot lock the ref 'refs/stash'.
Cannot save the current status
Run Code Online (Sandbox Code Playgroud)
我如何解决这个问题,以便我不会失去我的变化?