Answers for "how to add a file to gitignore after commit"

1

apply gitignore to current commit

#First commit all changes
git rm -r --cached .
git add .
git commit -m ".gitignore updated"
Posted by: Guest on September-11-2020
0

git ignore after commit

git rm --cached /*.exe
Posted by: Guest on November-22-2020
0

how to add filer to git ignore

go to the gitignore file, add the name of the file to ignore
Posted by: Guest on February-09-2021

Code answers related to "how to add a file to gitignore after commit"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language