Answers for "reinit gitignore"

2

reinit gitignore

# rm all files
git rm -r --cached .
# add all files as per new .gitignore
git add .
# now, commit for new .gitignore to apply
git commit -m ".gitignore is now working"
Posted by: Guest on July-30-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language