X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/aa11432fb45c379d42bef67858df11bc43ea3a8c..b133dc9212c5d15d32757135d46d28481bffac4f:/base/.gitconfig?ds=sidebyside diff --git a/base/.gitconfig b/base/.gitconfig index f20bd02..8d0cd8f 100644 --- a/base/.gitconfig +++ b/base/.gitconfig @@ -1,7 +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