summaryrefslogtreecommitdiffstats
path: root/gitconfig
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-01-11 02:27:39 -0600
committerJesse Luehrs <doy@tozt.net>2011-01-11 02:52:31 -0600
commit4e6826ea421fc1718ea726f2699642389a000242 (patch)
tree4935a6c42769297bdc433ba630250b4a26bc1e3a /gitconfig
parent66a650c3df5f88c3fe85aad45b3b447bd2036223 (diff)
downloadconf-4e6826ea421fc1718ea726f2699642389a000242.tar.gz
conf-4e6826ea421fc1718ea726f2699642389a000242.zip
more git aliases
Diffstat (limited to 'gitconfig')
-rw-r--r--gitconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/gitconfig b/gitconfig
index d680e31..ac7a7fd 100644
--- a/gitconfig
+++ b/gitconfig
@@ -12,6 +12,11 @@
review = "!f() { for rev in $(git rev-list --reverse \"$@\"); do git show $rev; done; }; f"
unstage = reset -q HEAD
info = remote show -n origin
+ graph = log --graph --all --full-history --color --branches --decorate
+ prune-all = !git remote | xargs -n 1 git remote prune
+ aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /'
+ lg = log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %C(bold blue)%an %Cgreen(%cr)%Creset%n%s%n' --abbrev-commit --date=relative --stat=72
+ lgs = log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %C(bold blue)%an %Cgreen(%cr)%Creset%n%s%n' --abbrev-commit --date=relative
[github]
user = doy
[color]