git push refspec to specify tracking branch
- From
Kevin Ballard <kevin@sb.org>
- Date
- Mar 31, 2010, 01:06 UTC
- Message-ID
- <13A69FD9-234A-4E2A-B83F-096DE304FA16@sb.org>
Is there any way in a refspec to specify the tracking branch corresponding to a local branch? Specifically, I want to be able to write some variant of `git push origin +foo` and have it push foo to its tracking branch. I can't find any way to do that according to the current documentation.
-Kevin Ballard