dleve123 / dotfiles

my personal config files
1 stars 1 forks source link

Auto add origin remote for new branches #6

Closed dleve123 closed 9 years ago

dleve123 commented 9 years ago

It's really annoying to have to do a git push -u origin <branch-name> for every new branch.

Is there a git setting that sets a branch's remote as origin by default? If not, is there another way to automate this?

dleve123 commented 9 years ago

Pulled @r00k's git-remote-tracking macro