Commit a774e9f2b97c7680d1227ce913597a17026d4de3
Update config
Claes Wallin (韋嘉誠) committed on 10/20/2016, 11:30:41 AMParent: c3f5635d0422027748290dbc3838b94ab69ad5a7
Files changed
.config/git/config | changed |
.config/git/config | |||
---|---|---|---|
@@ -2,8 +2,9 @@ | |||
2 | 2 … | tool = meld | |
3 | 3 … | [alias] | |
4 | 4 … | ad = "!bash -c \"if [[ \\$# == 0 ]]; then exec git add .; else exec git add \\\"\\$@\\\"; fi\"" | |
5 | 5 … | lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset' | |
6 … | + lr = log --walk-reflogs --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset' | ||
6 | 7 … | st = status --short | |
7 | 8 … | amend = commit --amend --no-edit --reset-author | |
8 | 9 … | gco = !bash -c 'git fetch gerrit \"$1\" && git checkout FETCH_HEAD' git-gco | |
9 | 10 … | fc = "!bash -ec 'change=\"$1\"; prefix=\"${change:3:2}\"; git fetch gerrit \"refs/changes/${prefix}/${change}/*:refs/remotes/gerrit/changes/${prefix}/${change}/*\"' git-fc" |
Built with git-ssb-web