Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

gitlab gitignore not working

#The files/folder in your version control will not just delete themselves just 
#because you added them to the .gitignore. They are already in the repository 
#and you have to remove them. You can just do that with this:

#Remember to commit everything you've changed before you do this!

git rm -rf --cached .  # don't forget the period on the end
git add . 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #gitlab #gitignore #working
ADD COMMENT
Topic
Name
5+5 =