Shell/Bash: reinit gitignore Example


Shell/Bash Example: This is the "reinit gitignore" Example. compiled from many sources on the internet by

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"

* Summary: This "reinit gitignore" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!