Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove all files from gitignore

git ls-files -i --exclude-from=.gitignore | %{git rm --cached $_}

// works with windows powershell
 
PREVIOUS NEXT
Tagged: #git #remove #files #gitignore
ADD COMMENT
Topic
Name
6+7 =