Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Way to use local masterBranch
Way to use local masterBranch [message #1163941] Thu, 31 October 2013 10:17 Go to next message
Samuel Suther is currently offline Samuel SutherFriend
Messages: 5
Registered: April 2012
Junior Member
Hi,

i'd like to create a Folder with my Files of the Project.(say /home/projects/p1)
And than, i'd like to create a new Eclipse-Project (say /home/projects/dev/p1), wich use this p1 as orgin master.

So i want to work on the "dev" path, and push my changes to /projects/p1.

How can i configure this at best?
Re: Way to use local masterBranch [message #1176666 is a reply to message #1163941] Fri, 08 November 2013 13:27 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 612
Registered: July 2009
Senior Member
I don't understand your question. Push is an operation transfering commits between different repository
instances but not different folders in the same directory.
Re: Way to use local masterBranch [message #1192008 is a reply to message #1163941] Sun, 17 November 2013 10:19 Go to previous message
Robin Rosenberg is currently offline Robin RosenbergFriend
Messages: 332
Registered: July 2009
Senior Member
Samuel Suther skrev 2013-10-31 11.17:> Hi,
>
> i'd like to create a Folder with my Files of the Project.(say /home/projects/p1)
> And than, i'd like to create a new Eclipse-Project (say /home/projects/dev/p1), wich use this p1 as orgin master.
>
> So i want to work on the "dev" path, and push my changes to /projects/p1.
>
> How can i configure this at best?
>
Clone /home/projects/dev/p1 from /home/projects/p1 or edit .git/config in /home/projects/dev/p1 to point origin to /home/projects/p1.

Also it's a good idea to make /home/projects/p1 a bare repo since pushing to it will not update any checked out files anyway.

-- robin
Previous Topic:How to change "Location" for "User Settings"
Next Topic:Error pushing to remote
Goto Forum:
  


Current Time: Fri Nov 21 02:40:25 GMT 2014

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

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