3
7

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 5 years have passed since last update.

.gitignore が反映されないとき

Posted at
$ git rm -r --cached .
$ git add .
$ git commit -m ".gitignore is now working"
$ git push origin master

上記で反映可能。
インデックスが残っているので、全て削除する必要がある。

git push した時に大量なremoveログが出るので焦るが、大丈夫。

3
7
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
3
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?