[pony-build] Pushing a branch
C. Titus Brown
ctb at msu.edu
Tue Mar 2 18:08:24 PST 2010
On Tue, Mar 02, 2010 at 07:30:38PM -0600, Augie Fackler wrote:
> On Mar 2, 2010, at 5:54 PM, Jack Carlson wrote:
>
>> Sorry if this is a rather simple question, but just wondering how do I
>> go about pushing changes in a particular new branch up to my remote
>> repository (github)? Right now if I switch to my new branch, make
>> changes/commit them, then attempt to git push the changes, I just get
>> the message "Everything up-to-date". Is there anything special I have
>> to do in order to let github know that I have a new branch going?
>
> Try 'git push origin <branchname>' - assuming you want to push the new
> branch name to github.
right -- to amplify on Augie's response, a more complete push spec is
git push <repository> <local branch>:<remote branch>
To create a new branch on github, just push to it; if it already exists
and isn't an ancestor of the branch you're pushing, git will complain.
cheers,
--titus
--
C. Titus Brown, ctb at msu.edu
More information about the pony-build
mailing list