非常教程

Git参考手册

其他 | Miscellaneous

api index

快速参考指南:GitHub 备忘单( PDF )| Visual Git 备忘单( SVG | PNG )

设置和配置

  • git
  • config
  • help

获取和创建项目

  • init
  • clone

基本快照

  • add
  • status
  • diff
  • commit
  • reset
  • rm
  • mv

分支和合并

  • branch
  • checkout
  • merge
  • mergetool
  • log
  • stash
  • tag

共享和更新项目

  • fetch
  • pull
  • push
  • remote
  • submodule

检查和比较

  • show
  • log
  • diff
  • shortlog
  • describe

修补

  • apply
  • cherry-pick
  • diff
  • rebase
  • revert

调试

  • bisect
  • blame
  • grep

指南

  • gitattributes
  • Everyday Git
  • Glossary
  • gitignore
  • gitmodules
  • Revisions
  • Tutorial
  • Workflows

电子邮件

  • am
  • apply
  • format-patch
  • send-email
  • request-pull

外部系统

  • svn
  • fast-import

行政

  • clean
  • gc
  • fsck
  • reflog
  • filter-branch
  • instaweb
  • archive
  • bundle

服务器管理

  • daemon
  • update-server-info

Plumbing 指令

  • cat-file
  • check-ignore
  • commit-tree
  • count-objects
  • diff-index
  • for-each-ref
  • hash-object
  • ls-files
  • merge-base
  • read-tree
  • rev-list
  • rev-parse
  • show-ref
  • symbolic-ref
  • update-index
  • update-ref
  • verify-pack
  • write-tree
Git

Git 是一个分布式版本控制软件,最初由林纳斯·托瓦兹(Linus Torvalds)创作,于2005年以 GPL 发布。最初目的是为更好地管理 Linux 内核开发而设计。

主页 https://git-scm.com/
源码 https://github.com/git/git
发布版本 2.14.3