git remove without deleting
For a single file:
git rm --cached mylogfile.log
and for a single directory:
git rm --cached -r mydirectory
git remove without deleting
For a single file:
git rm --cached mylogfile.log
and for a single directory:
git rm --cached -r mydirectory
git remove remote file keep local
# for single file
git rm --cached myfile
# for directory file
git rm --cached --r myfile
remove directory from git without deleting
#for directory
git rm --cached -r myfile
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us