Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove file

#For a single file:
git rm --cached mylogfile.log

#For a single directory:
git rm --cached -r mydirectory
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #remove #file
ADD COMMENT
Topic
Name
9+7 =