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

3

Can you delete a folder in a directory directly from the GitHub website without using Git?

I would like to delete a folder, but I do not know if it is possible without Git.

    
asked by anonymous 12.07.2017 / 00:54

1 answer

8

As far as I know, you can. Enter the file and click the recycle bin as marked below:

IntheorythisisthesameasanotherGitclientdoingtheremoval.ObviouslyifyouhavearepositorysomewhereelseyouwillneedtosynchronizewiththisnewversionavailableinGitHubwhichnownolongerhasthisfile.

Thefoldercanonlybedeletedautomaticallyifyoudonothavefilesinit.Thendeleteallfilesandthefolderautomaticallydisappears.Gitdoesnotkeepemptyfolderswithoutsometrick.

Otherwise,eitheruseGitorsomeAPI.Deletingeverythingatoncesimplydoesnothavetheweb. People want this .

    
12.07.2017 / 01:30