Open efiop opened 3 years ago
git check-ignore
didn't error out but showed null on my computer. But still different than dvc check-ignore
@karajan1001 is subrepo
a git submodule?
@karajan1001 is
subrepo
a git submodule?
Both Git
and DVC
.
OK, I know I didn't commit it.
fatal: ../a.dvc: '../a.dvc' is outside repository at '/Users/gao/Code/test/subrepo/subrepo'
Same condition on files outside repo.
git chec-ignore
will error-out if you try to use a path that is in submodule. Seems likedvc check-ignore
should do the same with our subrepos.See https://github.com/iterative/dvc/pull/6000#discussion_r631438598