how to delete a folder in github 1

how to delete a folder in github

git rm -r folder-name
git commit -m "Remove unwanteed folder"
git push

Here is what the above code is Doing:
1. git rm -r folder-name: Remove the folder from the repository.
2. git commit -m “Remove unwanteed folder”: Commit the change.
3. git push: Push the change to the remote repository.

Similar Posts