"Cannot rewrite branch(es) with a dirty working directory".
我是Git的新手 - 我试着谷歌搜索无济于事的答案.
这个错误是什么意思?我该怎么办?
jon*_*scb 20
脏工作目录意味着您对分支进行了未提交的更改.您可以提交它们或存储它们.要藏匿使用:
git stash
Run Code Online (Sandbox Code Playgroud)
并使用它来恢复您的更改
git stash apply
Run Code Online (Sandbox Code Playgroud)