- Allison Inman didn't write this, Daric Teske did
usage: git [--version] [--help] [-C ] [-c name=value]
[--exec-path[=]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=] [--work-tree=] [--namespace=]
[]
These are common Git commands used in various situations:
Clone a repository into a new directory, copy all files to new directory.
Create an empty Git repository or reinitialize an existing one. Add hidden .git files to initialize a directory.
Add file contents to the index stages the file
Move or rename a file, a directory, or a symlink
Reset current HEAD to the specified state
Remove files from the working tree and from the index
Use binary search to find the commit that introduced a bug
Print lines matching a pattern
Show commit logs
Show various types of objects
Show the working tree status
List, create, or delete branches
Switch branches or restore working tree files
Record changes to the repository
Show changes between commits, commit and working tree, etc
Join two or more development histories together
Reapply commits on top of another base tip
Create, list, delete or verify a tag object signed with GPG
Download objects and refs from another repository
Fetch from and integrate with another repository or a local branch
Update remote refs along with associated objects
'git help -a' and 'git help -g' list available subcommands and some concept guides. See 'git help ' or 'git help ' to read about a specific subcommand or concept.