相关疑难解决方法(0)

如何撤消git pull?

我想撤消我的git pull因为远程源上的不需要的提交,但我不知道我必须重置为哪个版本.

在对远程原点进行git拉取之前,我怎样才能回到状态?

git pull undo

227
推荐指数
6
解决办法
23万
查看次数

Git stash失败'错误:无法解析引用引用/存储:没有这样的文件或目录'

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)

我如何解决这个问题,以便我不会失去我的变化?

git git-stash

7
推荐指数
2
解决办法
7266
查看次数

标签 统计

git ×2

git-stash ×1

pull ×1

undo ×1