LoginSignup
3
4

More than 3 years have passed since last update.

vscodeでThe git repository at XXXX has too many active changes, only a subset of Git features will be enabled.が出たとき

Posted at

VSCodeでGit関連のエラー

環境

Windows10
Git 2.22.0

他人が作ったRails × NuxtのリポジトリをCloneしてyarn installした後だった

エラー文

The git repository at XXXX has too many active changes, only a subset of Git features will be enabled.

Google翻訳に投げると

XXXXのgitリポジトリにはアクティブな変更が多すぎます。Git機能のサブセットのみが有効になります。

原因

yarn installの後にこのエラーが出る。。。

.gitignoreを見てみるとnode_modulesが指定されていない

つまり,node_modulesの中身を全部監視しようとしてこのエラーが出た。

解決

https://github.com/vuetifyjs/nuxt/blob/master/template/.gitignore から.gitignoreコピペして反映

エラーが消えました。

フロントあまり触ったことない人があげたリポジトリっぽい(?)
さては,一回もビルドせずにサンプルコピペだけでフロントのコード上げたな?

3
4
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
3
4