Git Command Reference List

Git Command Reference List
We have all GIT commands in a list for your ease of reference. Visit us and get a detailed description of GIT commands.

GIT is powerful distributed version control system. It allows the user to be able to work efficiently both on-line and off-line. With git, you have so much flexibility at your disposal. Merging the work from different people, different projects, different locations are more manageable than with CVS, or Subversion.

The power and flexibility does not come without your effort to understand git, having a distributed CMS mind set, and knowning many of the git commands .

We put all git commands in a list for your ease of referene. If you want to become an expert it git, please check out addition resources:

List of GIT Commands

git-add Add file contents to the index
git-alias Define, search and show aliases
git-bisect Find by binary search the change that introduced a bug
git-blame Show what revision and author last modified each line of a file
git-branch List, create, or delete branches
git-clone Clone a repository into a new directory
git-commit Record changes to the repository
git-config Get and set repository or global options
git-diff Show changes between commits, commit and working tree, etc
git-fetch Download objects and refs from another repository
git-init Create an empty Git repository or reinitialize an existing one
git-instaweb Instantly browse your working repository in gitweb
git-log Show commit logs
git-merge Join two or more development histories together
git-mergetool Run merge conflict resolution tools to resolve merge conflicts
git-pull Fetch from and integrate with another repository or a local branch
git-push Update remote refs along with associated objects
git-rebase Forward-port local commits to the updated upstream head
git-remote manage set of tracked repositories
git-tag Create, list, delete or verify a tag object signed with GPG
git-am Apply a series of patches from a mailbox
git-amend-all add and amend everything to last commit
git-annex-shell Restricted login shell for git-annex only SSH access
git-annex manage files with git, without checking their contents in
git-annotate Annotate file lines with commit information
git-apply Apply a patch to files and/or to the index
git-archimport Import an Arch repository into Git
git-archive Create an archive of files from a named tree
git-back Undo and Stage latest commits
git-bundle Move objects and refs by archive
git-cat-file Provide content or type and size information for repository objects
git-changelog Generate the changelog report
git-check-attr Display gitattributes information
git-check-ignore Debug gitignore / exclude files
git-check-mailmap Show canonical names and email addresses of contacts
git-check-ref-format Ensures that a reference name is well formed
git-checkout-branches checkout all remote branches
git-checkout-index Copy files from the index to the working tree
git-checkout Checkout a branch or paths to the working tree
git-cherry-pick-recursive does a cherry-pick for a commit and each all its children
git-cherry-pick Apply the changes introduced by some existing commits
git-cherry Find commits not merged upstream
git-citool Graphical alternative to git-commit
git-clean Remove untracked files from the working tree
git-cola The highly caffeinated git GUI
git-column Display data in columns
git-commit-lazy creates a new commit with all untracked files and changes
git-commit-tree Create a new commit object
git-commits-since Show commit logs since some date
git-contrib Show user's contributions
git-count-objects Count unpacked number of objects and their disk consumption
git-count Show commit count
git-create-branch Create branches
git-credential-cache--daemon Temporarily store user credentials in memory
git-credential-cache Helper to temporarily store passwords in memory
git-credential-store Helper to store credentials on disk
git-credential Retrieve and store user credentials
git-cvsexportcommit Export a single commit to a CVS checkout
git-cvsimport Salvage your data out of another SCM people love to hate
git-cvsserver A CVS server emulator for Git
git-daemon A really simple server for Git repositories
git-dag An advanced git DAG visualizer
git-dch Generate the Debian changelog from git commit messages
git-debian-add creates a new commit and tag with all untracked files and changes as new debian version
git-debimport create a git repository from a set of existing Debian packages
git-delete-branch Delete branches
git-delete-submodule Delete submodules
git-delete-tag Delete tags
git-describe Show the most recent tag that is reachable from a commit
git-diff-files Compares files in the working tree and the index
git-diff-index Compare a tree to the working tree or index
git-diff-tree Compares the content and mode of blobs found via two tree objects
git-difftool Show changes using common diff tools
git-dpm debian packages in git manager
git-extras Awesome GIT utilities
git-fast-export Git data exporter
git-fast-import Backend for fast Git data importers
git-fetch-pack Receive missing objects from another repository
git-filter-branch Rewrite branches
git-fmt-merge-msg Produce a merge commit message
git-for-each-ref Output information on each ref
git-format-patch Prepare patches for e-mail submission
git-fresh-branch Create fresh branches
git-fsck-objects Verifies the connectivity and validity of the objects in the database
git-fsck Verifies the connectivity and validity of the objects in the database
git-ftp Git powered FTP client written as shell script.
git-gc Cleanup unnecessary files and optimize the local repository
git-get-tar-commit-id Extract commit ID from an archive created using git-archive
git-graft Merge and destroy a given branch
git-grep Print lines matching a pattern
git-gui A portable graphical interface to Git
git-hash-object Compute object ID and optionally creates a blob from a file
git-help Display help information about Git
git-hg tool for tracking Hg repos in Git
git-history-coverage summarise test coverage for recent git commits
git-http-backend Server side implementation of Git over HTTP
git-http-fetch Download from a remote Git repository via HTTP
git-http-push Push objects over HTTP/DAV to another repository
git-ignore Add .gitignore patterns
git-imap-send Send a collection of patches from stdin to an IMAP folder
git-index-pack Build pack index file for an existing packed archive
git-init-db Creates an empty Git repository
git-local-commits List local commits
git-lost-found Recover lost refs that luckily have not yet been pruned
git-ls-files Show information about files in the index and the working tree
git-ls-remote List references in a remote repository
git-ls-tree List the contents of a tree object
git-mailinfo Extracts patch and authorship from a single e-mail message
git-mailsplit Simple UNIX mbox splitter program
git-merge-base Find as good common ancestors as possible for a merge
git-merge-base Find as good common ancestors as possible for a merge
git-merge-file Run a three-way file merge
git-merge-file Run a three-way file merge
git-merge-index Run a merge for files needing merging
git-merge-index Run a merge for files needing merging
git-merge-one-file The standard helper program to use with git-merge-index
git-merge-one-file The standard helper program to use with git-merge-index
git-merge-tree Show three-way merge without touching index
git-merge-tree Show three-way merge without touching index
git-merge Join two or more development histories together
git-mergetool--lib Common Git merge tool shell scriptlets
git-mergetool--lib Common Git merge tool shell scriptlets
git-mergetool Run merge conflict resolution tools to resolve merge conflicts
git-mktag Creates a tag object
git-mktree Build a tree-object from ls-tree formatted text
git-mv Move or rename a file, a directory, or a symlink
git-name-rev Find symbolic names for given revs
git-notes Add or inspect object notes
git-p4 Import from and submit to Perforce repositories
git-pack-objects Create a packed archive of objects
git-pack-redundant Find redundant pack files
git-pack-refs Pack heads and tags for efficient repository access
git-parse-remote Routines to help parsing remote repository access parameters
git-patch-id Compute unique ID for a patch
git-pbuilder Wrapper around cowbuilder/qemubuilder for git-buildpackage
git-peek-remote List the references in a remote repository
git-prune-packed Remove extra objects that are already in pack files
git-prune Prune all unreachable objects from the object database
git-quiltimport Applies a quilt patchset onto the current branch
git-read-tree Reads tree information into the index
git-receive-pack Receive what is pushed into the repository
git-reflog Manage reflog information
git-release Commit, tag and push changes to the repository
git-relink Hardlink common objects in local repositories
git-remote-bzr--git Fetch from or push to a Bazaar repository
git-remote-bzr Git remote support for Bazaar repositories
git-remote-ext Bridge smart transport to external command.
git-remote-fd Reflect smart transport stream back to caller
git-remote-testgit Example remote-helper
git-repack Pack unpacked objects in a repository
git-repl git read-eval-print-loop
git-replace Create, list, delete refs to replace objects
git-repo-config Get and set repository or global options
git-request-pull Generates a summary of pending changes
git-rerere Reuse recorded resolution of conflicted merges
git-reset Reset current HEAD to the specified state
git-rev-list Lists commit objects in reverse chronological order
git-rev-parse Pick out and massage parameters
git-revert Revert some existing commits
git-review Submit changes to Gerrit for review
git-rm Remove files from the working tree and from the index
git-send-email Send a collection of patches as emails
git-send-pack Push objects over Git protocol to another repository
git-setup Set up a git repository
git-sh-i18n--envsubst Git's own envsubst(1) for i18n fallbacks
git-sh-i18n Git's i18n setup code for shell scripts
git-sh-setup Common Git shell script setup code
git-sh git-sh -- a git shell
git-shell Restricted login shell for Git-only SSH access
git-shortlog Summarize 'git log' output
git-show-branch Show branches and their commits
git-show-index Show packed archive index
git-show-ref List references in a local repository
git-show Show various types of objects
git-stage Add file contents to the staging area
git-stash Stash the changes in a dirty working directory away
git-status Show the working tree status
git-stripspace Remove unnecessary whitespace
git-stuff additional Git utilities
git-submodule Initialize, update or inspect submodules
git-summary Show repository summary
git-svn Bidirectional operation between a Subversion repository and Git
git-symbolic-ref Read, modify and delete symbolic refs
git-tar-tree Create a tar archive of the files in the named tree object
git-touch Touch and add file to the index
git-undo Remove latest commits
git-unpack-file Creates a temporary file with a blob's contents
git-unpack-objects Unpack objects from a packed archive
git-update-index Register file contents in the working tree to the index
git-update-ref Update the object name stored in a ref safely
git-upload-archive Send archive back to git-archive
git-upload-pack Send objects packed back to git-fetch-pack
git-var Show a Git logical variable
git-verify-pack Validate packed Git archive files
git-verify-tag Check the GPG signature of tags
git-web--browse Git helper script to launch a web browser
git-whatchanged Show logs with difference each commit introduces
git-whoami tell about author and committer information
git-write-tree Create a tree object from the current index
git the stupid content tracker
git2cl tool to convert git logs to GNU ChangeLog
git2gv show your git commits graphically
git_selinux Security Enhanced Linux Policy for the Git daemon.
gitaction per file type action script
gitattributes defining attributes per path
gitcli Git command line interface and conventions
gitcore-tutorial A Git core tutorial for developers
gitcredentials providing usernames and passwords to Git
gitcvs-migration Git for CVS users
gitdiffcore Tweaking diff output
gitdpkgname gitdpkgname helper script
gitfm GNU Interactive Tools File Manager
gitg Git repository viewer
gitglossary A Git Glossary
githooks Hooks used by Git
github-backup backs up data from GitHub
gitignore Specifies intentionally untracked files to ignore
gitinternal Helper programs for gnuit
gitit wiki engine backed by a git or darcs filestore
gitk The Git repository browser
gitkeys Display key sequence utility
gitmodules defining submodule properties
gitmount auto-mount script
gitnamespaces Git namespaces
gitolite gatekeeper for git repositories
gitpkg export a Debian source package from nominated git revisions
gitps A process viewer/killer
gitregrep recursive grep
gitremote-helpers Helper programs to interact with remote repositories
gitrepository-layout Git Repository Layout
gitrevisions specifying revisions and ranges for Git
gitstats git history statistics generator
gittrac Low-ceremony bug tracker for projects under CVS
gittutorial-2 A tutorial introduction to Git: part two
gittutorial A tutorial introduction to Git (for version 1.5.1 or newer)
gitunpack Unified archive unpacking
gitview An ASCII/HEX file viewer
gitweb Git web interface (web frontend to Git repositories)
gitweb.conf Gitweb (Git web interface) configuration file
gitwipe An utility for wiping files
gitworkflows An overview of recommended workflows with Git
gitxgrep Helper programs for gnuit
Latest Tech News
Your Notes

Sign in/Sign up

Signing in to our system allows you to post your contributions and vote on the contributions of others. It will also allow you to get extra perts like having your favorites in the cloud and having your persistent personal notes wherever you go. More will be added as we scale up our services.

By signing in to our system, you agree our Member Terms and Conditions

with one of the following services

Almost finished!

Please select a screen name for NET SOUP.

 Please send me news and special offers from NET SOUP.

 I have read and accept the Terms of Use.


We have no example yet for this entry

Your Name

Community Contributions and Discussions

Modify your search

View Documentation

Jobs from Indeed