Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove remote file keep local

# for single file
git rm --cached myfile

# for directory file
git rm --cached --r myfile
 
PREVIOUS NEXT
Tagged: #git #remove #remote #file #local
ADD COMMENT
Topic
Name
2+5 =