Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

git

Git — distributed version control system.

referencedescription
conceptsDAG, content-addressable, three states, detached HEAD
objectsblob, tree, commit, tag, packfile, gc, fsck
refsbranches, tags, symbolic ref, reflog, refspec
indexstaging area, git add, git reset, index format
cliporcelain commands, git log, diff, stash, bisect
branching-mergingmerge, fast-forward, squash, conflict, merge strategies
remotesfetch, push, pull, refspec, protocol, credential
rebaserebase, cherry-pick, interactive rebase, history rewrite
diff-patchdiff, patch, conflict resolution, merge driver
config.gitconfig, config levels, aliases, signing
internalsplumbing commands, .git layout, environment variables
worktreelinked worktrees, submodules, sparse checkout, shallow clone
hookshooks, pre-commit, pre-push, client/server-side
workflowsgit flow, trunk-based, LFS, signing, gitignore