dstack icon indicating copy to clipboard operation
dstack copied to clipboard

[Feature]: Support `dstackignore` (similar to `.gitignore`)

Open peterschmidt85 opened this issue 10 months ago • 6 comments

Problem

In some cases, .gitignore cannot be used, e.g. when users want to push large local files to Git eventually and don't want to list them in .gitignore. At the same time, they don't want to upload them via dstack apply.

Solution

Support .dstackignore (in addition to .gitignore).

Workaround

Use --no-repo with dstack init. But this will only work when you don't want to upload any files.

Would you like to help us implement this feature by sending a PR?

No

peterschmidt85 avatar Feb 17 '25 10:02 peterschmidt85