|Working with git clone but on remote server [message #1459037]
||Sun, 02 November 2014 02:51
| Atul Kakrana
Registered: November 2014
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.
Powered by FUDForum
. Page generated in 0.02105 seconds