Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » JGit Branches onto Remote master
JGit Branches onto Remote master [message #903573] Fri, 24 August 2012 11:43 Go to next message
R J is currently offline R JFriend
Messages: 8
Registered: August 2012
Junior Member
Hi

I have created a branch called branch1. The branch is created on the origin. When I push up the branch to the server, it creates it under origin/branch1. I would like to create it under master/branch1.

How is this possible through JGit.
Re: JGit Branches onto Remote master [message #903574 is a reply to message #903573] Fri, 24 August 2012 11:51 Go to previous messageGo to next message
R J is currently offline R JFriend
Messages: 8
Registered: August 2012
Junior Member
Just to be clear:

I have set the start point to be 'refs/heads/master' but still is creates under origin/branch1. Not sure where I am going wrong.
Re: JGit Branches onto Remote master [message #904401 is a reply to message #903574] Tue, 28 August 2012 11:28 Go to previous message
R J is currently offline R JFriend
Messages: 8
Registered: August 2012
Junior Member
No reply?

I really don't know what to do.

Actually when I have create and I push the branch to the server, what I want to happen is everything goes under the origin/master branch. So for example,

origin/master is on the server

I create a local branch called branch1

When branch1 is pushed up the tree should look like:

origin/master -- branch1

Any ideas how to do this?
Previous Topic:What are the steps to use Egit with Bitbucket
Next Topic:Eclipse Mylyn Connector
Goto Forum:
  


Current Time: Thu Mar 28 15:01:07 GMT 2024

Powered by FUDForum. Page generated in 0.02983 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top