How could I remove folders from my GIT repository without deleting them from my local files?
- Add the folder to your “.gitignore” file, so it won’t appear to be added again when you are tracking new changes
- Remove the folder from tracking without deleting from local files:
git rm -r –folder_path/
- Push these changes to your repository.