diff --git a/gitconfig b/gitconfig index 87ac80a..a8c7eba 100644 --- a/gitconfig +++ b/gitconfig @@ -25,5 +25,13 @@ dpull = !git svn fetch && git svn rebase dcommit = svn dcommit 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 + # 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