devpod
devpod copied to clipboard
Ignore gitignored files when uploading
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.
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 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.
yes, makes sense. A config might be an option
@skorfmann I would like to work on this issue
@FabianKramm I would like to work on this issue, kindly assign me..
Not a maintainer of this project, just created this issue