add git aliases

auto-flake-update
Yorick van Pelt 2016-08-26 16:50:53 +02:00
parent 8f4ddd3359
commit 508b0f05fb
1 changed files with 13 additions and 1 deletions

View File

@ -6,6 +6,18 @@
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
st = status
remotes = remote -v
branches = branch -a
tags = tag
stashes = stash list
unstage = reset -q HEAD --
discard = checkout --
uncommit = reset --mixed HEAD~
graph = log --graph -10 --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order
[push]
default = simple
[user]
email = yorickvanpelt@gmail.com
name = Yorick van Pelt
[help]
autocorrect = 5