How to Delete a File from GitHub
Adding a file to GitHub is simple enough, but how do you delete a file from GitHub? Let's go over it in a few quick steps.
Tyler Harz
|
5 steps
|
22 seconds
1
Navigate to the repository that holds the file you wish to delete.
2
Click on the file you want to delete. First, we must open it and view the file's page.
3
You'll see a Trash icon to the upper right of the window on the next screen. Click this to delete the file.
4
You'll have to commit the changes, so make sure to add a commit message.
5
Add a description if you want, and click Commit changes when you are done.