Git help Page

git help



{{navbar_github}}




usage: git [--version] [--help] [-C ] [-c =]
[--exec-path[=]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=] [--work-tree=] [--namespace=]
[--super-prefix=] [--config-env==]
[]

These are common Git commands used in various situations:

start a git working area (see also: git help tutorial)

* git clone - Clone a repository into a new directory
* git init - Create an empty Git repository or reinitialize a git repository (an existing one)

work on the current Git changes (see also: git help everyday)
* git add - Add file contents to the index
* git mv - Move or rename a file, a directory, or a symlink
* git restore - Restore working git tree files
* git rm - Remove files from the git working tree and from the git index

examine the git history and git state (see also: git help revisions)
* git bisect - Use git binary search to find the git commit that introduced a bug
* git diff - Show changes between git commits, git commit tree and git working tree, etc
* git grep - Print lines matching a git pattern
* git log - Show git commit logs
* git show - Show various types of git objects
* git status - Show the git working tree status

grow, mark and tweak your common git history
* git branch - List, create, or delete git branches
* git commit - Record git changes to the git repository
* git merge - git Join two or more development git histories together
* git rebase - Reapply git commits on top of another git base tip
* git reset - Reset current git HEAD to the specified state
* git switch - Switch git branches
* git tag - git Create, git list, git delete or git verify a git tag object signed with GPG

git collaborate (see also: git help workflows)
* git fetch - Download git objects and git refs from another git repository
* git pull - git Fetch from and integrate with another git repository or a git local branch
* git push - git update git remote git refs along with associated git objects

'git help -a' and 'git help -g' list available git subcommands and some
concept guides. See 'git help ' or 'git help '
to read about a specific subcommand or concept.

See 'git help git' for an git overview of the git system.

{{footer_navbar}}