Git Cheat Sheet

A Programming › Git cheat sheet in English by matu
3,553 views 1,900 downloads 2 Mar 2015 History
3.7 avg · 1 rating

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 '­HEA­D^'
git commit --amend
git blame -w <fi­le>
git branch
git checkout <br­anc­h>
git bisect
git rebase -i

Badges

Good Cheat Sheet Nice Cheat Sheet

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.