Skip to content

Instantly share code, notes, and snippets.

@ademar111190
Last active September 20, 2018 17:48
Show Gist options
  • Save ademar111190/6e0e1396ba34b74695cd359f252dd910 to your computer and use it in GitHub Desktop.
Save ademar111190/6e0e1396ba34b74695cd359f252dd910 to your computer and use it in GitHub Desktop.
Some .gitconfig alias
[alias]
a = add
b = branch
bc= checkout -b
bb= log --graph --simplify-by-decoration --pretty=format:'%d' --all
c = commit
cl= clean -f -d
d = diff
dc= diff --cached
e = shortlog --summary --numbered
f = ls-files --others --exclude-standard
h = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
k = clone --recursive
l = shortlog -s
o = checkout
p = pull
s = status
t = log --date-order --graph --tags --simplify-by-decoration --pretty=format:'%ai %h %d'
u = reset HEAD~
x = push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment