Thread (2 messages) 2 messages, 2 authors, 2016-06-15

git push refspec to specify tracking branch

From: Kevin Ballard <hidden>
Date: 2016-06-15 22:48:31

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help