Remove files/folders from remote repository

If you want to remove a folder from your git repository then simply run these commands into your terminal.

Run

$ rm -rf folder_name
$ git add --all
$ git commit -m "Your commit message"
$ git push origin "branch_name"

These commands will remove that folder from your git repository of that branch.

Comments

Shahnawaz Hossan 2019-2024 | Crafted with