Re: setting up tracking on push
- From
Miles Bader <miles@gnu.org>
- Date
- Mar 6, 2009, 11:15 UTC
- Message-ID
- <buoy6vi297q.fsf@dhlpc061.dev.necel.com>
- In-Reply-To
- <alpine.DEB.1.00.0903061144480.10279@pacific.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 7 quoted lines
>> > I vaguely feel like I should be able to do: >> > >> > git push --track origin grognul > > http://search.gmane.org/?query=push+track&group=gmane.comp.version-control.git > > Summary for the lazy: it needs a lot of work to be implemented properly.
Alternatively, maybe a "git track [REMOTE [BRANCH]]" command that simply adds makes adding the appropriate config magic more convenient ?
I dunno what the arg syntax would look like in the general case; I almost always want to use the current branch, and track an identically named branch in the origin remote though...
-Miles
-- Custard, n. A vile concoction produced by a malevolent conspiracy of the hen, the cow, and the cook.