git [command]

The stupid content tracker


commandCustom user defined git alias


archiveCreate an archive of files from a named tree
commitRecord changes to the repository
configChange Git configuration
rebaseReapply commits on top of another base tip
addAdd file contents to the index
stageAdd file contents to the staging area
statusShow the working tree status
cleanShows which files would be removed from working directory
revertCreate new commit that undoes all of the changes made in <commit>, then apply it to the current branch
ls-remoteList references in a remote repository
pushUpdate remote refs
pullIntegrate with another repository
diffShow changes between commits, commit and working tree, etc
resetReset current HEAD to the specified state
logShow commit logs
remoteManage remote repository
fetchDownload objects and refs from another repository
stashTemporarily stores all the modified tracked files
reflogShow history of events with hashes
cloneClone a repository into a new directory
initCreate an empty Git repository or reinitialize an existing one
mvMove or rename a file, a directory, or a symlink
rmRemove files from the working tree and from the index
bisectUse binary search to find the commit that introduced a bug
grepPrint lines matching a pattern
showShow various types of objects
branchList, create, or delete branches
checkoutSwitch branches or restore working tree files
cherry-pickApply the changes introduced by some existing commits
submoduleInitialize, update or inspect submodules
mergeJoin two or more development histories together
mergetoolOpen the git tool to fix conflicts
tagCreate, list, delete or verify a tag object signed with GPG
restoreRestore working tree files
switchSwitch branches
worktreeManage multiple working trees
applyApply a patch to files and/or to the index
daemonA really simple server for Git repositories


--versionOutput version
--helpOutput help
-C <command>Run as if git was started in &lt;path&gt;
-c <command>Pass a config parameter to the command
--exec-path [command]Get or set GIT_EXEC_PATH for core Git programs
--html-pathPrint Git’s HTML documentation path
--man-pathPrint the manpath for this version of Git
--info-pathPrint the info path documenting this version of Git
-p,--paginatePipe output into `less` or custom $PAGER
--no-pagerDo not pipe Git output into a pager
--no-replace-objectsDo not use replacement refs
--no-optional-locksDo not perform optional operations that require lock files
--bareTreat the repository as a bare repository
--git-dir <command>Set the path to the repository dir (`.git`)
--work-tree <command>Set working tree path
--namespace <command>Set the Git namespace