]> git.sev.monster Git - dotfiles.git/blobdiff - base/.gitconfig
user-dirs: fix XDG_PUBLICSHARE_DIR
[dotfiles.git] / base / .gitconfig
index 91550b24b3beea92b18061e6188511e8555d18f8..8d0cd8fc723709cc5f561f066c611b9a442ccf32 100644 (file)
@@ -5,5 +5,8 @@
 [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
This page took 0.042244 seconds and 4 git commands to generate.