Version Control

版本回退 Checkout HEAD revision

cmd-alt-Z

相当于git中的撤销修改或删除,无论是否staged,恢复到最近一次commit

文件的Git状态查看

cmd-shift-B

查看工程中所有untracked或者modified的文件

Commit Msg 编辑器

git config --global core.editor "atom --wait

当需要git commit之后,Atom编辑器会自动出现让你来添加commit的附带说明信息,当信息过长时会由颜色的变化来提示。关闭Atom之后即完成commit

Git状态栏标志

git status bar

  • branch name
  • the number of commits the branch is ahead of
  • The number of lines added and removed since the file was last committed

每一行Git状态

line diffs

results matching ""

    No results matching ""