I made a mistake by defining a stage while forgetting to define its output with the
-o option. I tried removing the existing stage with
dvc remove pipelines.yaml:my-stage-name -p, but this does not remove the stage from
pipelines.yaml. I eventually manually deleted the stage from
pipelines.yaml, and created a new stage with the same name using
dvc run .... My questions are:
What’s the recommended way to redefine a stage?
Is manually removing the stage from
pipelines.yamlsufficient to completely delete the stage, or will there still be metadata about the stage elsewhere?