RT git经常用到常用命令
当前分支愉快玩耍呢,然后 有人呼喊你 “那个小谁,xx分支有bug 看一下” “小谁xx分支有问题帮忙看下”
于是 经常在 当前开发分支,切换到某分支,又切换回来继续干活。
想问git有没有,切换上个分支功能。
git checkout -
Use git stash to save the current changes, then switch to the branch that needs to fix the bug, and switch back after the changes are completed. Then git stash list determines the contents of stash, and git stash apply stash{xx}
Use git stash to save the current changes, then switch to the branch that needs to fix the bug, and switch back after the changes are completed.
Then git stash list determines the contents of stash, and git stash apply stash{xx}