.gitignore file not ignoring the file
git rm -r --cached .
git add .
git commit -m “.gitignore is now working”
.gitignore file not ignoring the file
git rm -r --cached .
git add .
git commit -m “.gitignore is now working”
GIT - Cleaning ignored file when .gitignore added after changes
# Remove the files from the index (not the actual files in the working copy)
$ git rm -r --cached .
# Add these removals to the Staging Area...
$ git add .
# ...and commit them!
$ git commit -m "Clean up ignored files"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us