Git 与 GitHub 工具推荐

Git 命令行增强

diff-so-fancy

diff so fancy 截图

git-extras

Ubuntu

  1. $ sudo apt-get install git-extras

Mac OS X with Homebrew

  1. $ brew install git-extras
  1. $ git-summary
  2. project : github-roam
  3. repo age : 2 years, 7 months
  4. active : 40 days
  5. commits : 124
  6. files : 101
  7. authors :
  8. 72 Fengda HUANG 58.1%
  9. 29 Fengda Huang 23.4%
  10. 8 Phodal HUANG 6.5%
  11. 3 Phodal Huang 2.4%
  12. 2 yangpei3720 1.6%
  13. 2 WangXiaolong 1.6%
  14. 2 TZS 1.6%
  15. 1 安正超 0.8%
  16. 1 Li 0.8%
  17. 1 Qiuer 0.8%
  18. 1 SCaffrey 0.8%
  19. 1 oncealong 0.8%
  20. 1 zminds 0.8%

Intellij IDEA

由于日常用的开发工是 Intellij IDEA 企业版,所以就有点依赖于这个工具了。最常用的功能便是:修复 Bug 时,对于文件修改的追溯。了解某行代码修改的原因,对应的修改人等等。

Intellij IDEA

Git、GitHub桌面增强

SourceTree

SourceTree 方便用来查看一些非我写的项目,寻找其中的一些问题。个中缘由便是:Intelli IDEA 刚打开某个项目的时候,需要花费大量的时间 index,只可惜现有的 SourceTree 客户端都需要登录 Atlassian 账户了。

gitflow 分支合并、查看

SourceTree 截图

GitHub Desktop

GitHub Desktop

Git 娱乐

githug

  1. $ githug
  2. ********************************************************************************
  3. * Githug *
  4. ********************************************************************************
  5. No githug directory found, do you wish to create one? [yn] y
  6. Welcome to Githug!
  7. Name: init
  8. Level: 1
  9. Difficulty: *
  10. A new directory, `git_hug`, has been created; initialize an empty repository in it.
  1. $ githug play
  2. ********************************************************************************
  3. * Githug *
  4. ********************************************************************************
  5. Congratulations, you have solved the level!
  6. Name: config
  7. Level: 2
  8. Difficulty: *
  9. Set up your git name and email, this is important so that your commits can be identified.
  1. #1: init
  2. #2: config
  3. #3: add
  4. #4: commit
  5. #5: clone
  6. #6: clone_to_folder
  7. #7: ignore
  8. #8: include
  9. #9: status
  10. #10: number_of_files_committed
  11. #11: rm
  12. #12: rm_cached
  13. #13: stash
  14. #14: rename
  15. #15: restructure
  16. #16: log
  17. #17: tag
  18. #...

Gource

Gource 历史