X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/d50f11d1b1c215bfc135949c0bd5d6faea6a4199..975ad64b1891b5653db9816fd95550896ae2a7a8:/base/.gitconfig diff --git a/base/.gitconfig b/base/.gitconfig index 17b6e1c..1f7f15e 100644 --- a/base/.gitconfig +++ b/base/.gitconfig @@ -1,7 +1,13 @@ [user] - email = git@ds6.pw - name = ds6 + email = git@sev.monster + name = sev [alias] - pushall = !git remote | xargs -L1 -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" + tree = log --oneline --graph --branches --color +[pull] + ff = only +[init] + defaultBranch = master