How will you remove a file from Git without actually removing it from your local filesystem?
You can use the ‘cached’ option for this:
git rm -rf –cached $FILES
This command will remove the files from your repository without deleting them from your disk.
© Copyright 2018-2022 www.blogmepost.com. All rights reserved. Developed by Blogmepost.