How can I delete a folder and all the contents inside it?

Is there any way I can do this?
I have a 99 file folder which I don’t want to delete each file individually.

Edit: I also have issue templates and webhooks attached to the repo, so I don’t want to re-add everything if I delete the repo.

HI @codedipper welcome to the community. The better way to manage the files and folders in a repository is locally, then push the changes up to GitHub.

To get started with pushing repositories and using GitHub with your projects from your device locally I would recommend the following advice.

Firstly, If you are new to Git, I would recommend going through this interactive tutorial:

Once the repo is on your local machine, you can make a new commit using git commands and push it. That’d remove the directory from GitHub as well!

1 Like