下面介绍一下git保存工作状态常用命令
1)保存当前的工作线程
git stash
2)查看当前分支保存列表
git stash list
3)恢复stash保存内容但并不删除保存内容,如果删除需要用git stash drop来删除
git stash apply
4)恢复stash保存内容,并把stash内容也删了
git stash pop
下面介绍一下git保存工作状态常用命令
1)保存当前的工作线程
git stash
2)查看当前分支保存列表
git stash list
3)恢复stash保存内容但并不删除保存内容,如果删除需要用git stash drop来删除
git stash apply
4)恢复stash保存内容,并把stash内容也删了
git stash pop