Answers for "remove folder from git ignore and add still ignored"

2

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
4

add file to gitignore and remove from repo

git rm -r --cached .
Posted by: Guest on May-21-2020

Code answers related to "remove folder from git ignore and add still ignored"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language