Re: [PATCH] Include a git-push example for creating a remote branch
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Sep 6, 2007, 10:50 UTC
- Message-ID
- <A3C344D0-B2A0-44DC-BCBD-3B2C1EBD24B1@wincent.com>
- In-Reply-To
- <20070906044408.GA588@spearce.org>
El 6/9/2007, a las 6:44, Shawn O. Pearce escribió:
Show 6 quoted lines
> +git push origin master:refs/heads/experimental:: > + Create the branch `experimental` in the `origin` repository > + by copying the current `master` branch. This form is usually > + needed to create a new branch in the remote repository as > + there is no `experimental` branch to match. > +
A welcome addition; I was puzzled the first time I tried this myself too.
Cheers, Wincent