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
+[pull]
+ ff = only
+
+[include]
+ path = config.local
alias spa="sudo $ps"
unset ps
## git
+alias g=git
alias gd='git diff'
alias gdh='git diff HEAD'
alias ga='git add'
alias gca='git commit --amend'
alias gp='git push'
alias gu='git pull'
+alias gl='git log'
+alias gt='git tree' # from gitconfig
## cd/zoxide
function up {
\cd $(printf '../%.0s' {1..${1:-1}})