533
452

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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"
533
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
533
452

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?