diff --git a/extension/src/repository/model/index.ts b/extension/src/repository/model/index.ts index 206b8d68d1..1ca27c961f 100644 --- a/extension/src/repository/model/index.ts +++ b/extension/src/repository/model/index.ts @@ -161,7 +161,9 @@ export class RepositoryModel extends Disposable { ), untracked: [...untracked] .filter( - path => extname(path) !== DOT_DVC && basename(path) !== '.gitignore' + path => + extname(path) !== DOT_DVC && + !['.gitignore', 'dvc.yaml', 'dvc.lock'].includes(basename(path)) ) .map(path => ({ contextValue: SourceControlDataStatus.UNTRACKED,