How to delete a file in github repository?

Asked By:
3 answer(s)
Answer # 1 #
  1. Navigate to the repository on GitHub. 2. Locate the file you wish to delete. 3. Click on the file to open it. 4. Click the trash can icon to delete the file. 5. Commit the changes with a descriptive message.
[23 Day]
Answer # 2 #

Alternatively, you can delete the file locally and push the changes to the remote repository.

[18 Day]
Answer # 3 #

To delete a file in a GitHub repository:

[26 Day]