Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

apply gitignore to current commit

#First commit all changes
git rm -r --cached .
git add .
git commit -m ".gitignore updated"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #apply #gitignore #current #commit
ADD COMMENT
Topic
Name
4+6 =