git小操作之checkout、stash

  1. git checkout会带上当前changed但没有commit的内容到目标分支
  2. git stash用来暂存当前改动,并且会退代码到上一个commit;git stash pop则取出所stash的代码
原文地址:https://www.cnblogs.com/maozhige/p/3741946.html