Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.gitignore ファイルを使用して最上位の /assets ディレクトリを無視しようとしているため、ファイルには次のように記載されています。
資産/
これは機能していますが、アプリの下位レベルにある他のフォルダーも無視されます。assets と呼ばれるフォルダーは無視されます。例えば。/style/img/assets.
最上位の /assets ディレクトリのみを無視するように指定するにはどうすればよいですか?
ルート フォルダーのみを無視するには、次のコマンドを試してください。
/assets/