git- git stash

2.stash

$ git stash # 暂时储存当前的更改
$ git stash list # 显示暂存列表list
$ git stash apply # 应用最新的暂存区的更改
$ git stash pop # 应用最新的暂存区的更改,并删除最新暂存区

猜你喜欢

转载自www.cnblogs.com/rrcj/p/11480164.html