Using Git With Eclipse Remote Systems Explorer

3.4k views Asked by At

I am doing web development using CFEclipse with Classic Eclipse (Indigo) on a Windows Server.

I am using Remote Systems Explorer to access a Linux box via sftp.

The Linux box has Git installed. There is one branch in the development folder.

I have installed EGit in Eclipse, but there are no provisions for working with a remote system.

Because I cannot develop locally, how should I checkout files, edit and review changes in a browser, and ultimately commit properly? There is no local repository and checking out files through ssh (putty) while editing them in Eclipse does not show my changes when browsed.

2

There are 2 answers

6
aleroot On BEST ANSWER

If you can access to the remote location through ssh why you don't just simply clone the repository in local and then pull and push the changes ?

I think that cloning the the repository is the best bet in your situation, you have only to install msysgit on your windows machine ...

0
Jose Areas On

You can use remote project to achieve what you need. Unfortunately, git operations need to be done on the remote server. But, you can change the files and the files will be changed remotely on fly. To create the remote project you have to right click on the remote folder you want to create the remote project. The context menu you will find "Create Remote Project".

What Eclipse will do is make the modification thru RSE. This means, eclipse will deal with save files remotely.