Files: 0c4a0b6e10f7fbf15127339750a6ff490d9aa3c8 / .config / git / config
1724 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 | wta = worktree add --detach |
12 | wtas = "!bash -ec 'if (( $# != 1)); then echo >&2 git wtas: 1 parameter expected; exit 2; fi; tree=\"$(python -c \"from __future__ import print_function; import os, os.path, sys; print(os.path.normpath(os.path.join(os.getenv(\\\"PWD\\\"), sys.argv[1])))\" \"$1\")\"; git wta \"$tree\"; cd \"$(git rev-parse --git-dir)\"; for mod in $(git config --blob HEAD:.gitmodules -l --name-only|gawk -F . \"/\\.path$/ {print \\$2}\"); do [ -d modules/$mod ] && git -C modules/$mod wta \"${tree}/$(git config --blob HEAD:.gitmodules --get submodule.${mod}.path)\"; done' wtas" |
13 | |
14 | [core] |
15 | autocrlf = false |
16 | safecrlf = true |
17 | [uploadpack] |
18 | allowTipSHA1InWant = true |
19 | allowReachableSHA1InWant = true |
20 | [receive] |
21 | denycurrentbranch = refuse |
Built with git-ssb-web