Working with git clone but on remote server [message #1459037] |
Sat, 01 November 2014 22:51  |
Eclipse User |
|
|
|
Hi All,
I am having problem using git and need help from you guys. We have multiple servers which obviously are interconnected. On our central server lies main git, to work with these gits we clone them on one of the other (more powerful) server (Server-A) and work with the scripts i.e. develop and test; and finally push to central server. The reason we always work on servers and never local desktops is because scripts mostly involve processing large data sets and uses parallel processing so huge memory and decent amount of cores is required while developing the scripts.
In past, I used to mount onto my Linux desktop/laptop, the HOME directory of server and open the files directly, modify and save them. But after git this doesn't seems to be a good option due to multiple branches that we can make and work on one by one. So there is no single file, in fact, if I am correct there is no physical file for every branch.
As, I have used Eclipse in past to access to work on files that lie on remote server I thought I could do the same with gits i.e. add git from remote server or mounted HOME directory. But I think I was wrong, EGIT has no option to add remote git and I believe it can only work with remote gits. Here is my scenario:
Desktop/Laptop ----SSH-----> Server A (Powerful server with git clones) <---------PUSH/PULL-------> Central Server (main gits)
The scripts or packages that I work on can only be developed on Server A and not on my desktop. Is there a way I can add cloned-git from server A to my local desktop eclipse so that I can develop and test real time and switch branches?
From last few days, I am trying to find a solution for this and would appreciate your help.
Best
BADE
|
|
|
|
|
|
|
|
|
Re: Working with git clone but on remote server [message #1463374 is a reply to message #1462945] |
Thu, 06 November 2014 09:03  |
Eclipse User |
|
|
|
The ClassCastException is not related to EGit but coming from m2e (Eclipse Maven integration).
The Warning about gitPrefix shouldn't cause big trouble, you can set the gitPrefix manually in
Preferences "Team > Git > Configuration > Tab System Settings" you can change the location of
system level git configuration.
|
|
|
Powered by
FUDForum. Page generated in 0.05159 seconds