Answers for "git remove without deleting"

0

git remove without deleting

For a single file:

git rm --cached mylogfile.log

and for a single directory:

git rm --cached -r mydirectory
Posted by: Guest on April-06-2021
0

git remove remote file keep local

# for single file
git rm --cached myfile

# for directory file
git rm --cached --r myfile
Posted by: Guest on June-25-2020
0

remove directory from git without deleting

#for directory
git rm --cached -r myfile
Posted by: Guest on January-04-2021

Code answers related to "git remove without deleting"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language