X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/03bc64c4e89dadccb97ce8d1e22477ab8b7210dc..c0b3d4b6bc9c9c8b2a88bc1035e877714d81ebf1:/base/.gitconfig diff --git a/base/.gitconfig b/base/.gitconfig index 454f6bd..8d0cd8f 100644 --- a/base/.gitconfig +++ b/base/.gitconfig @@ -1,3 +1,12 @@ [user] - email = git@ds6.pw - name = ds6 + email = git@sev.monster + name = sev + +[alias] + 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 +[init] + defaultBranch = master