Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove without deleting

For a single file:

git rm --cached mylogfile.log

and for a single directory:

git rm --cached -r mydirectory
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #remove #deleting
ADD COMMENT
Topic
Name
9+6 =