・リモートリポジトリのmasterブランチに間違ってpushしてしまった。 これを取り消したいけど、どうしたらいいの? git push origin :master としたら remote: error: refusing to delete the current branch: refs/heads/master To git@github.com:myname/MyProject.git ! [remote rejected] master (deletion of the current branch prohibited) error: failed to push some refs to 'git@github.com:myname/MyProject.git' といわれて削除できない。