How to create a new remote branch with EGit? -
let's have eclipse project uses versioning control egit , connected remote repository git@myrepo.com:git2013
. in project, under local branch newstuff
, create , change files. now, want push remote branch named newstuff
in remote repository. remote repository holds branch master
.
how create new remote branch called newstuff
?
ps: please not answer command-line git commands; describe how in egit.
you can follow section "configuring upstream push " in order push given branch:
pushing branch doesn't exist yet on remote repo create on said remote.
you can specify refspec want use, or use push ref specification.
that above push local branches.
update december 2013 (egit 3.2): mentioned in robinst's answer (upvoted), have:
push branch / initial push wizard simplifies pushing branch , allows upstream configuration new branches created push operation.
improve ui of upstream configuration when creating branch:
Comments
Post a Comment