Skip to main content

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

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

Back to the top