Is it possible to delete a folder inside a repository directly from the Github site without using Git?

Asked

Viewed 1,944 times

4

Delete a folder inside a directory directly from the Github website without using Git?

I’d like to delete a folder, but I don’t know if it’s possible without Git.

1 answer

11


Enter the file and click on the recycle bin as marked below:

Apagar Github

In theory this is the same as another Git client doing the removal and should keep track that a removal took place as if done by Git. Of course, if you have a repository elsewhere you will need to synchronize with this new version available on Github that no longer has that file.

The folder can only be deleted automatically if there are no files in it. Then delete all the files and the folder automatically disappears. Git doesn’t keep empty folders without some trick.

Other than that, it either uses Git or some API. Deleting everything at once simply doesn’t work for the web. People want this stuff.

  • Thank you @bigown, and sorry for the delay, I gave your reply! ^^

Browser other questions tagged

You are not signed in. Login or sign up in order to post.