Git Command Helper
Common Git commands reference with examples
No favorites yet
Common Git commands reference with examples
git initInitialize a new Git repository
git cloneClone a repository from a remote URL
git remoteManage remote repositories
git statusShow the working tree status
git addAdd file contents to the index
git commitRecord changes to the repository
git pushUpdate remote refs along with associated objects
git pullFetch from and integrate with another repository
git branchList, create, or delete branches
git checkoutSwitch branches or restore working tree files
git switchSwitch branches (newer alternative to checkout)
git mergeJoin two or more development histories together
git logShow commit logs
git diffShow changes between commits, commit and working tree, etc.
git showShow various types of objects
git resetReset current HEAD to the specified state
git revertCreate a new commit that undoes the changes of a previous commit
git stashStash the changes in a dirty working directory away
git tagCreate, list, delete or verify a tag object
git configGet and set repository or global options
Select a command to view details, examples, and flags