Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ローカル リポジトリから、GitHub プロジェクトのリポジトリに追加したくないファイルを誤って追加してコミットしてしまいました。このファイルをターミナルで削除できますか、それともオンラインで手動で削除できますか?
コマンドラインから次のことができます:
git rm <file> - remove file locally and marks it for deletion git commit -m"your message" - commit file to local repo git push origin master - push the change to github.