Miles Bader <miles@xxxxxxx> wrote: > Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > >> > 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 I definitely second this approach. It would be very useful. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html