How to delete single file in GitHub? -
i accidentally added , committed file local repo not want added github project's repo. can delete file terminal or can manually delete online?
from command line following:
git rm <file> - remove file locally , marks deletion git commit -m"your message" - commit file local repo git push origin master - push change github.
Comments
Post a Comment