diff --git a/git/gitconfig b/git/gitconfig index 9a4ceff..04c3b08 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -6,7 +6,7 @@ pushall = !git remote | xargs -L1 git push --all pr = "!f() { git fetch -fu ${2:-$(git remote |grep ^upstream || echo origin)} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f" logp = "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short" - pr-clean = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done" + pr-clean = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done" [core] autocrlf = input excludesfile = /Users/acicchetti/.gitignore @@ -23,6 +23,8 @@ pretty = fuller [log] follow = true +[push] + autoSetupRemote = true [pull] rebase = true [init]