0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VSCodeでワーキングディレクトリ内のgitリポジトリを無視する

Posted at

VSCodeのワーキングディレクトリ内に重いgitリポジトリがあると、ソース管理機能の動作が遅くなってしまう場合があります。
自身で特に管理していない依存ライブラリなどでは、ソース管理機能を使用する必要がないことがほとんどです。
このとき、以下のような設定を追加することで重いgitリポジトリを無視し、動作を回復させることができます。

.vscode/settings.json
{
    "git.ignoredRepositories": [
        "path/to/repository"
    ]
}

path/to/repositoryを無視したいgitリポジトリへの相対パスに置き換えることで設定できます。

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?