Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] ignore files in a synchronized project

Hi Stephane

Synchronization ignores .gitignore and other git exclude lists. Synchronized projects were designed to
mirror the remote system so that one can work as if working on the system itself. Thus, synchronization
works independently from any existing git repository or from version control in general.

We realize, however, that large files and directories can significantly slow down synchronization, and
so some form of configurable file filtering is needed in a future version.


John

On Tue, Oct 25, 2011 at 10:12 AM, Stéphane Backaert <stephanebackaert@xxxxxxxxx> wrote:
Hi,

I would like to synchronized only a part of the files in my local project dir: the src directory in fact.

Unfortunately, when I add new rules in the .gitignore file, every modification in one file of src synchronizes all files in both sense (new or added in the remote or local side) without taking account of .gitignore.
If I type git --git-dir=.ptp-sync/ rm --cached <files I want to ignore> in remote side, then synchronization fails...

What can I do to ignore a part of my project directory in the sync process?

Thanks!

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


Back to the top