.gitignore not working

commit everything before running these commands!! These commands will remove all files and add them back.

  1. git rm -rf --cached .
  2. git add .

Reference: https://stackoverflow.com/a/25436481

Leave a Reply

Your email address will not be published. Required fields are marked *