LoginSignup
534
452

More than 3 years have passed since last update.

.gitignore の設定を反映させる

Last updated at Posted at 2013-05-26

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

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

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

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
534
452