[phobos] Push or pull?
Jesse Phillips
jesse.k.phillips at gmail.com
Wed Feb 9 16:03:04 PST 2011
On Wed, Feb 9, 2011 at 2:03 PM, Sean Kelly <sean at invisibleduck.org> wrote:
> On Feb 9, 2011, at 12:03 PM, Jesse Phillips wrote:
>
>> You will create branches and push those to origin as branches:
>>
>> git push origin issue-XXX:issue-XXX
>
> So I don't have to create the remote branch as a separate step? I had been doing:
>
> git remote add issue-XXXX
> ...
> git push issue-XXXX issue-XXXX
Ah, no need to do that. And looking over the docs, I don't think it is
doing what you want it to do. If I understand it right this command
makes issue-XXXX a synonym for origin or something, but not a branch:
git-remote add [-t <branch>] [-m <master>] [-f] [--mirror] <name> <url>
"Adds a remote named <name> for the repository at <url>. The command
git fetch <name> can then be used to create and update remote-tracking
branches <name>/<branch>."
My branching command is
git checkout -b branch_name
aka
git branch branch_name
git checkout branch_name
More information about the phobos
mailing list