git ssb

0+

clacke / gists



Tree: 03e288c9b9e4d60e7d19ac8bd0cdaa7b052221ec

Files: 03e288c9b9e4d60e7d19ac8bd0cdaa7b052221ec / .config / git / config

1042 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 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}/*\" | 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[core]
12 autocrlf = false
13 safecrlf = true
14[uploadpack]
15 allowTipSHA1InWant = true
16 allowReachableSHA1InWant = true
17

Built with git-ssb-web