Closed ezhang7423 closed 1 year ago
Mh, it works different:
Add your directory to stage file
dud stage gen -o my/dir/ | tee my_dir.yaml
Add stage
dud stage add my_dir.yaml
Do the rest:
dud commit
dud push
git add .
git commit -m "Added dir"
git push
Thanks for the question, @ezhang7423! Sorry for the late response; I was away on vacation for a while.
@thorstenwagner has shown how this is done in Dud; thanks a bunch, @thorstenwagner!
TLDR: stage gen
generates/creates a stage file, and stage add
adds a stage file to Dud's index.
If this isn't supported, it seems like a pretty essential feature...