X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/7bcc6f7fd9703c522f2c4d0add9a850515c21a44..03b903de311946827e690f4db8b082c0ab32dc47:/base/.gitconfig diff --git a/base/.gitconfig b/base/.gitconfig index 70f8a2c..5ed2164 100644 --- a/base/.gitconfig +++ b/base/.gitconfig @@ -1,7 +1,10 @@ [user] - email = git@ds6.pw - name = ds6 + email = git@sev.monster + name = sev [alias] - pushall = !git remote | tr -s '\\n' '\\0' | xargs -0 -P3 git push - pull-submodules = submodule foreach git pull origin master + push-all = !git remote | xargs -n1 git push + submodules-pull = submodule foreach git pull origin master + pr = "!f() { git fetch -fu ${2:-origin} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f" +[pull] + ff = only