Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] New synchronized project with remote sources.

I assume that you mean you have a single remote location that is already being synchronized. You then did a check out on the remote site that added new files that are not being sync'ed (not showing up in Eclipse). As you mentioned, downloading them to your local Eclipse directory is one solution. You can also add them from the remote site using git, although the commands are not obvious. Running the following two commands in the remote directory should work:

> git --git-dir=.ptp-sync --work-tree=. add <files to add>
> git --git-dir=.ptp-sync --work-tree=. commit -m "Add new files" <files to add>

where <files to add> is a list of the new files.

The next time you sync, the new files should appear in Eclipse.

I'll add this information to the wiki.


John

On Fri, Oct 7, 2011 at 2:12 PM, Steven Dix <steven@xxxxxxxxxxxxx> wrote:

I have a remote machine where I check out my source code from svn. How can I add the code that now exists on my remote box to a synchronized project that I've created on my windows box without having to copy it from the server to my windows box just to add it to my project which will get synched back to the server.


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top