add git aliases
parent
8f4ddd3359
commit
508b0f05fb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue