devpod icon indicating copy to clipboard operation
devpod copied to clipboard

Ignore gitignored files when uploading

Open skorfmann opened this issue 1 year ago • 5 comments

Is your feature request related to a problem?

When a project has lots of dependencies / build artifacts in the local project folder, uploading them to the remote instance might take quite a while and upload data which is likely not usable for the remote OS anyway.

Screenshot 2023-09-04 at 11 22 35

Which solution do you suggest?

Ignore files for upload which are ignored via .gitignore

Which alternative solutions exist?

run git clean -fdx in the project before creating the workspace - which might not be desirable / pretty inconvenient.

Additional context

skorfmann avatar Sep 04 '23 09:09 skorfmann

@skorfmann thanks a lot for creating this issue! Mhhh yeah I can see this being a problem for some projects, but there are others where excluding gitignored files is not wanted, e.g. certain .env files or custom configuration you might want to sync. I'm not sure how we would approach this the best way, but we could maybe add an option to exclude .gitignored files.

FabianKramm avatar Sep 04 '23 13:09 FabianKramm

yes, makes sense. A config might be an option

skorfmann avatar Sep 04 '23 14:09 skorfmann

@skorfmann I would like to work on this issue

s-vamshi avatar Oct 08 '23 01:10 s-vamshi

@FabianKramm I would like to work on this issue, kindly assign me..

ShivamAgarwal-code avatar Oct 25 '23 11:10 ShivamAgarwal-code

Not a maintainer of this project, just created this issue

skorfmann avatar Oct 25 '23 11:10 skorfmann