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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -