Answers for "git rm directory"

16

git remove folder remotely

git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
Posted by: Guest on June-22-2020
1

git - Remove folder

git rm -r test_dir
Posted by: Guest on July-06-2021
0

how to remove a directory in git

git rm -r --cached myFolder
Posted by: Guest on October-24-2020
0

remove folders from remote git

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)
Posted by: Guest on October-24-2020

Browse Popular Code Answers by Language