.Gitignoreファイルは、プロジェクトのルートディレクトリに作成されます
あなたは、ファイル内で無視したいファイルを追加します。
.DS_Store node_modules /dist # local env files .env.local .env.*.local # Log files npm-debug.log* yarn-debug.log* yarn-error.log* # Editor directories and files .idea .vscode *.suo *.ntvs* *.njsproj *.sln *.sw?
詳細な設定は、緑遼玉峰先生の参照記事
Gitはリモート倉庫にプロジェクトを提出し、単純な実装はnode_modulesファイルを無視します
おすすめ
転載: www.cnblogs.com/korea/p/11031525.html
ランキング