I created a remote git repository and proceeded to push code to it from the wrong local repo.
The local repo is fine I just want to remove the content I pushed to the remote and start over.
I have tried git push origin :master
but got an error:
! [remote rejected] master (branch is currently checked out)
error: failed to push some refs to 'ssh://.................
Is there a simple way of checking it in? 'check in' or 'checking in' (and other variations) produce no relevant results.