Update .gitignore file

In order to update the .gitignore file do the following:

Commit the new .gitignore file.

Run these commands:

git rm -r –cached .
git add .
git commit -m “.gitignore update”

Push on the remote branch.

Advertisements