[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gits] Convert local branch to remote branch

Leigh Stoller <lbstoller@gmail.com> writes:

> Say I have a local branch that I now want to turn into a remote branch
> in emulab-devel repo. Is that possible?

Sure.  I believe that this does what you want, all in one command:

	git push --set-upstream origin mybranch


Eric Eide <eeide@cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX