Files: fbd6a0b4aa3c6ee69cc038e99fdbfaee338fd342 / .config / git / config
1115 bytesRaw
1 | [merge] |
2 | tool = meld |
3 | [alias] |
4 | lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset' |
5 | lr = log --walk-reflogs --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset' |
6 | st = status --short |
7 | amend = commit --amend --no-edit --reset-author |
8 | gco = !bash -c 'git fetch gerrit \"$1\" && git checkout FETCH_HEAD' git-gco |
9 | fc = "!bash -ec 'change=\"$1\"; prefix=\"${change:3:2}\"; git fetch gerrit \"refs/changes/${prefix}/${change}/*:refs/remotes/gerrit/changes/${prefix}/${change}/*\"' git-fc" |
10 | cc = "!bash -ec 'change=\"$1\"; prefix=\"${change:3:2}\"; git fc \"$change\"; latest=$(git ls-remote . \"refs/remotes/gerrit/changes/${prefix}/${change}/*\" | sort -n -t / -k 7 | 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" |
11 | |
12 | [core] |
13 | autocrlf = false |
14 | safecrlf = true |
15 | [uploadpack] |
16 | allowTipSHA1InWant = true |
17 | allowReachableSHA1InWant = true |
18 | [receive] |
19 | denycurrentbranch = refuse |
Built with git-ssb-web