devspace icon indicating copy to clipboard operation
devspace copied to clipboard

use .gitignore as the exclude sync files

Open DanArlowski opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? As we use many files and folders in the repo , and every use may have a bit different folder configs, some folders named differently, etc , the gitignore is the most updated file to make sure nothing gets pushed to the repo

Which solution do you suggest? Allow the abillity to state devspace config to use .gitignore as the exclusion list

Which alternative solutions exist? Copy paste by hand, managing 2 different list and keeping them in sync

Additional context May be great feature for complex git repos.

/kind feature

DanArlowski avatar Aug 10 '21 12:08 DanArlowski

@DanArlowski thanks for creating this issue! Yes, I see your point, but I believe this does not always work, however we might want to add an option to load the exclude paths from file, where you could just specify the .gitignore file

FabianKramm avatar Aug 11 '21 11:08 FabianKramm

I agree that adding a file may work great, Then we can add any file and .gitignore as one of them.

This is a feature I will gladly appreciate.

DanArlowski avatar Aug 11 '21 14:08 DanArlowski