Show Menu
Cheatography

Log

git log
git log --status
git log --grep­="te­st"
git log --diff­-fi­lter=D --summary
git shortlog
git log --sinc­e="1 week ago"

Remote

git pull
git push
git clone
git remote -v
git remote add
git remote remove
 

Status

git status
git status -sb

Stash

git stash
git stash list
git stash drop
git stash apply
 

Misc

git init
git reset --soft 'HEAD^'
git commit --amend
git blame -w <fi­le>
git branch
git checkout <br­anc­h>
git bisect
git rebase -i
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Git Cheat Sheet