Add git aliases for list (ls), long-list (ll) and list-date-stamp (lds)

main
Buddy Sandidge 12 years ago
parent b1746bbc89
commit 48fc23ba27

@ -25,5 +25,13 @@
dpull = !git svn fetch && git svn rebase dpull = !git svn fetch && git svn rebase
dcommit = svn dcommit dcommit = svn dcommit
lg = log --graph --pretty=format:'%Cred%h%Creset %s%Cred%d%Creset %Cgreen(%cr by %cN)%Creset' lg = log --graph --pretty=format:'%Cred%h%Creset %s%Cred%d%Creset %Cgreen(%cr by %cN)%Creset'
flc = commit --amend fix-last-commit = commit --amend
flc = fix-last-commit
rmbr = push origin --delete rmbr = push origin --delete
# http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/
list = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ls = list
long-list = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
ll = long-list
list-date-stap = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
lds = list-date-stap

Loading…
Cancel
Save