1
2

More than 1 year has passed since last update.

gitignoreが反映されない

Posted at

問題

一度Gitに登録されたものを後からgitignoreに追加した結果、gitに反映されなかった。

解決法

$ git rm -r --cached . 

ファイル全体のキャッシュを削除することで解決した。

1
2
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
1
2