Main Commands (draft)
git add
- Add file contents to the index. git-add(1)
git am
- Apply a series of patches from a mailbox. git-am(1)
git archive
- Create an archive of files from a named tree. git-archive(1)
git bisect
- Use binary search to find the commit that introduced a bug. git-bisect(1)
git branch
- List, create, or delete branches. git-branch(1)
git bundle
- Move objects and refs by archive. git-bundle(1)
git checkout
- Switch branches or restore working tree files. git-checkout(1)
git cherry-pick
- Apply the changes introduced by some existing commits. git-cherry-pick(1)
git citool
- Graphical alternative to git-commit. git-citool(1)
git clean
- Remove untracked files from the working tree. git-clean(1)
git clone
- Clone a repository into a new directory. git-clone(1)
git commit
- Record changes to the repository. git-commit(1)
git describe
- Describe a commit using the most recent tag reachable from it. git-describe(1)
git diff
- Show changes between commits, commit and working tree, etc. git-diff(1)
git fetch
- Download objects and refs from another repository. git-fetch(1)
git format-patch
- Prepare patches for e-mail submission. git-format-patch(1)
git gc
- Cleanup unnecessary files and optimize the local repository. git-gc(1)
git grep
- Print lines matching a pattern. git-grep(1)
git gui
- A portable graphical interface to Git. git-gui(1)
git init
- Create an empty Git repository or reinitialize an existing one. git-init(1)
git log
- Show commit logs. git-log(1)
git merge
- Join two or more development histories together. git-merge(1)
git mv
- Move or rename a file, a directory, or a symlink. git-mv(1)
git notes
- Add or inspect object notes. git-notes(1)
git pull
- Fetch from and integrate with another repository or a local branch. git-pull(1)
git push
- Update remote refs along with associated objects. git-push(1)
git rebase
- Reapply commits on top of another base tip. git-rebase(1)
git reset
- Reset current HEAD to the specified state. git-reset(1)
git revert
- Revert some existing commits. git-revert(1)
git rm
- Remove files from the working tree and from the index. git-rm(1)
git short-log
- Summarize git log output. git-shortlog(1)
git show
- Show various types of objects. git-show(1)
git stash
- Stash the changes in a dirty working directory away. git-stash(1)
git status
- Show the working tree status. git-status(1)
git submodule
- Initialize, update or inspect submodules. git-submodule(1)
git tag
- Create, list, delete or verify a tag object signed with GPG. git-tag(1)
git worktree
- Manage multiple working trees. git-worktree(1)
gitk
- The Git repository browser. gitk(1)