LoginSignup
451

More than 1 year has passed since last update.

posted at

updated at

.gitignore の設定を反映させる

すでにリポジトリに ignore ファイルを追加していると、
キャッシュが残っており .gitignore ファイルの内容が反映されない。

なので、キャッシュを消してあげよう。

.gitignore
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"

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
What you can do with signing up
451