Skip to content

Instantly share code, notes, and snippets.

@hamaluik
Last active March 12, 2016 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamaluik/a35df16f132800ca2fde to your computer and use it in GitHub Desktop.
Save hamaluik/a35df16f132800ca2fde to your computer and use it in GitHub Desktop.
[alias]
ls = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
plog = log --graph --pretty='format:%C(red)%d%C(reset) %C(yellow)%h%C(reset) %ar %C(green)%aN%C(reset) %s'
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
tlog = log --stat --since='1 Day Ago' --graph --pretty=oneline --abbrev-commit --date=relative
fuck = reset HEAD --hard
yolo = push -f
news = log -p @{1}..
d = diff -c HEAD
cleanup = !git clean -i -x -d -e "TAGS" -e 'tags' ; git fetch -p
rank = shortlog -sn --no-merges
a = add -p
st = status -sb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment