Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Way to use local masterBranch
Way to use local masterBranch [message #1163941] Thu, 31 October 2013 06:17 Go to next message
Eclipse UserFriend
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 08:27 Go to previous messageGo to next message
Eclipse UserFriend
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 05:19 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 10:20:16 EDT 2025

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

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

Back to the top