git 命令行记录

118 阅读1分钟
  1. git fetch origin --prune:拉取分支
  2. git reflog show --date=iso <branch name>:查看分支创建时间
  3. git stash save "暂存的备注":暂存
  4. git stash list:查看暂存记录
  5. git stash pop:取回暂存代码
  6. git reset --hard:取消【取回暂存代码】
  7. git stash clear:清空暂存