[phobos] Push or pull?

Michel Fortin michel.fortin at michelf.com
Tue Feb 8 16:20:47 PST 2011


Le 2011-02-08 à 18:40, Sean Kelly a écrit :

> I'd hoped that I could create a branch for each, but haven't yet figured out how to push the branch upstream so I can generate the pull request from it.

	git push <remote-name> <branch-name>

<remote-name> is the name of the remote to push to. Generally it's "origin" that points to where you cloned the repository from. So:

	git push origin <branch-name>

If you want to see the list of remotes in your git repository, use:

	git remote

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/





More information about the phobos mailing list