mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 06:28:08 +01:00
Update gitconfig
This commit is contained in:
parent
89b34f1acd
commit
75aa1dcbff
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
syn = ! "git pull --rebase && git push"
|
syn = ! "git pull --rebase && git push"
|
||||||
gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D"
|
gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D"
|
||||||
praise = blame
|
praise = blame
|
||||||
pushbranch = ! "git push -u origin $(git rev-parse --abbrev-ref HEAD)"
|
pushbranch = ! "git push -o merge_request.create -u origin $(git rev-parse --abbrev-ref HEAD)"
|
||||||
pushu = pushbranch
|
pushu = pushbranch
|
||||||
cobf = ! "f() { git branch -D $1 && git switch -c $1; }; f"
|
cobf = ! "f() { git branch -D $1 && git switch -c $1; }; f"
|
||||||
sw = switch
|
sw = switch
|
||||||
|
@ -35,6 +35,7 @@
|
||||||
balance = blame
|
balance = blame
|
||||||
tagam = ! "f() { git tag -a $1 -m \"$1\"; }; f"
|
tagam = ! "f() { git tag -a $1 -m \"$1\"; }; f"
|
||||||
pushtag = push --follow-tags
|
pushtag = push --follow-tags
|
||||||
|
pushnoci = push -o ci.skip
|
||||||
[core]
|
[core]
|
||||||
editor = vim
|
editor = vim
|
||||||
attributesfile = {{ .chezmoi.homeDir }}/.gitattributes
|
attributesfile = {{ .chezmoi.homeDir }}/.gitattributes
|
||||||
|
|
Loading…
Reference in a new issue