dvc
dvc copied to clipboard
push: remote configured with `worktree = true` pushes imports
Bug Report
Description
Pushes data imported with dvc import to remote when remote is configured with worktree = true.
Reproduce
- Clone https://github.com/iterative/example-get-started
- Configure a remote with
worktree = true - Push to that remote
- Check that
data/data.xmlwas pushed
Expected
data/data.xml is imported from a data registry and should not be pushed.