撒的阿坎努斯 发表于 2018-9-18 07:24:15

git暂存工作区stash

git stash                     #丢进暂存区  
git stash list                  #列出所有暂存区的资料
  
git stash pop                   #取出暂存区最后一个暂存的状态(栈内存,先进后出)后面快跟选择的记录 @{n}
  
git stash apply               #取出暂存区最后一个暂存的状态,但是stash记录不移除
  
git stash clear               #把stash 记录清空


页: [1]
查看完整版本: git暂存工作区stash