Files: a774e9f2b97c7680d1227ce913597a17026d4de3 / .config / git / config
1154 bytesRaw
1 | [merge] |
2 | tool = meld |
3 | [alias] |
4 | ad = "!bash -c \"if [[ \\$# == 0 ]]; then exec git add .; else exec git add \\\"\\$@\\\"; fi\"" |
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' |
7 | st = status --short |
8 | amend = commit --amend --no-edit --reset-author |
9 | gco = !bash -c 'git fetch gerrit \"$1\" && git checkout FETCH_HEAD' git-gco |
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" |
11 | cc = "!bash -ec 'change=\"$1\"; prefix=\"${change:3:2}\"; git fc \"$change\"; latest=$(git ls-remote . \"refs/remotes/gerrit/changes/${prefix}/${change}/*\" | cut -f 2 | tail -n 1); if [[ -z $latest ]]; then echo >&2 \"No such change: $change\"; exit 1; else git checkout \"$latest\"; fi' git-cc" |
12 | [core] |
13 | autocrlf = false |
14 | safecrlf = true |
15 | [uploadpack] |
16 | allowTipSHA1InWant = true |
17 | allowReachableSHA1InWant = true |
18 |
Built with git-ssb-web