Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reinit #gitignore
ADD COMMENT
Topic
Name
3+9 =