Usuń śledzenie git
/* Remove Git tracking from an entire folder/directory */
cd projectName // Navigate to the project directory
rm -rf .git // Remove git tracking
Intra
/* Remove Git tracking from an entire folder/directory */
cd projectName // Navigate to the project directory
rm -rf .git // Remove git tracking
# the -r option will recursively delete the folder
git rm -r folder-name
# commit changes
git commit -m "Remove duplicated directory"
sql
git rm -r one-of-the-directories // This deletes from filesystem
git commit . -m "Remove duplicated directory"
git push origin <your-git-branch> (typically 'master', but not always)
/* Remove Git tracking from an entire folder/directory */
cd project-name // Navigate to the project directory
rm -rf .git // Remove git tracking
git rm -r myfolder
git commit -m 'myFolder is deleted'
git push