编程笔记
/
1 min
修改代码保存后发现在错误分支上?使用git stash解决
代码修改完,准备 commit 发现分支错了,而这时候因为有修改未 commit 不能切换到正确的分支,会提示下面的错误信息: Please commit your changes or stash them before you swit...
代码修改完,准备 commit 发现分支错了,而这时候因为有修改未 commit 不能切换到正确的分支,会提示下面的错误信息: Please commit your changes or stash them before you swit...