Browse Source

[gitconfig] Add new aliases

merge-requests/1/merge
Goulven Kermarec 8 years ago
parent
commit
9eb3fc4a56
  1. 5
      gitconfig

5
gitconfig

@ -29,5 +29,10 @@
# Pretty branch graph # Pretty branch graph
lg = log --oneline --abbrev-commit --all --graph --decorate --color lg = log --oneline --abbrev-commit --all --graph --decorate --color
# Graph with additional info (author, date)
lga = log --graph --abbrev-commit --decorate --format=format:'%C(yellow)%h%C(reset) %C(bold red)%d%C(reset) %C(blue)[%an]%C(reset) %C(green)(%ar)%C(reset) - %C(white)%s%C(reset)' --all
# Same but also list modified files # Same but also list modified files
lf = log --oneline --name-status --all --graph --decorate --color lf = log --oneline --name-status --all --graph --decorate --color
# pull rebase
prb = pull --rebase

Loading…
Cancel
Save