Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove files from repo but not locally

git rm --cached `git ls-files -i -X .gitignore`
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #remove #files #repo #locally
ADD COMMENT
Topic
Name
1+9 =