I m a beginner in open source and I was committed a wrong file in my GitHub repository, I just want to just delete it and here is a picture and the link..... Screenshot of the image
Here is the problem I just want to delete in and nothing more.
CodePudding user response:
Considering you have checked out the repo in your workstation.
Steps:
- Go to the folder in your workstation
- Select & delete the folder/file (if its hidden file then make sure its visible)
- git commit & git push
- Done
CodePudding user response:
You can try this step
git rm -r --cached FolderName
git commit -m "Removed folder from repository"
git push origin master