On Donnerstag, 29. Oktober 2009, Jan Janak wrote:
> [..]
> > According to the tutorial i found i need now to push this, but i'm not
> > sure if the command really does the right thing:
> >
> > henning@ca:~/sip-router$ git push origin marius-tmp --dry-run
> > To ssh://henning@git.sip-router.org/sip-router
> > * [new branch] marius-tmp -> marius-tmp
> >
> > It seems that it want to create a new remote branch, which is not really
> > what i want..
>
> You need to specify the name of the branch in the remote repository
> you want to push to if the name of the local branch and the name of
> the remote branch do not match:
>
> $ git push origin marius-tmp:sr_3.0
>
> The manpage on git-push describes what happens if you omit the name of
> the destination branch:
>
> The <dst> tells which ref on the remote side is updated with this
> push. Arbitrary expressions cannot be used here, an actual ref must
> be named. If :<dst> is omitted, the same ref as <src> will be
> updated.
Hello Jan,
thank you, that did the trick! :)
Regards,
Henning