You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run dvc import-url with the --to-remote option, a .dvc file is create and the data is written to remote storage, as expected, but no entry is created in .gitignore. When I then run dvc pull, a local copy of the data is created and git status shows it as untracked.
Reproduce
git init
dvc init
dvc remote add -d gcs gs://bucket/dvc-test
dvc import-url --to-remote https://data.dvc.org/get-started/data.xml
# creates data.xml.dvc
# writes to remote storage
# no entry added to .gitignore
dvc pull
# creates data.xml
# git shows data.xml as untracked
Expected
dvc import-url --to-remote should create a .gitignore entry.
Bug Report
Description
When I run
dvc import-url
with the--to-remote
option, a .dvc file is create and the data is written to remote storage, as expected, but no entry is created in .gitignore. When I then rundvc pull
, a local copy of the data is created andgit status
shows it as untracked.Reproduce
Expected
dvc import-url --to-remote
should create a .gitignore entry.Environment information
Output of
dvc doctor
:The text was updated successfully, but these errors were encountered: