Answers for "file not being ignored gitignor"

10

.gitignore file not ignoring the file

git rm -r --cached .
git add .
git commit -m “.gitignore is now working”
Posted by: Guest on May-31-2020
0

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"
Posted by: Guest on December-03-2021

Code answers related to "file not being ignored gitignor"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language