The title pretty much is the question. I am aware of git rm file
but this isn't what I am looking for. I am looking for a way to delete files and folders in a github repo using ONLY a browser.
Browse to the directory in your repository that you want to delete. In the top-right corner, click , then click Delete directory. Review the files you will delete. At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file.
Note: on GitHub, you now can directly delete a file from the web interface (without having to even clone the repo).
Delete Files using git rm. The easiest way to delete a file in your Git repository is to execute the “git rm” command and to specify the file to be deleted. Note that by using the “git rm” command, the file will also be deleted from the filesystem.
This is not (yet?) available through the web interface.
As GitHub added File editing, then File creation features, this may make sense to propose such a feature. The recommended channel to do so is to send an email to [email protected].
Deletion of files through the web interface is now available.
Delete all files within a folder. Folders are deleted automatically if there is no file in it anymore.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With