dotfiles/git/.gitconfig

24 lines
676 B
INI
Raw Normal View History

2012-11-14 16:37:34 +01:00
[color]
ui = auto
2012-11-14 16:37:34 +01:00
diff = auto
status = auto
branch = auto
2012-12-25 14:05:29 +01:00
[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
2016-08-26 16:50:53 +02:00
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
2016-08-26 16:50:53 +02:00
[user]
email = yorickvanpelt@gmail.com
name = Yorick van Pelt
[help]
autocorrect = 5