I created a project.
Then I created the readme file and commit the file.
At this stage, s far there is only a readme file online.
Above is all done online.
At this point nothing has been push to cloud yet.
Then on laptop side, I did this:
$ git push -u origin master
Username for ‘https://gitlab.com’: friendoffatbeagle
Password for ‘https://email@example.com’:
! [rejected] master -> master (fetch first)
error: failed to push some refs to ’ https://gitlab.com/username/someProjectname.git’
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., ‘git pull …’) before pushing again.
hint: See the ‘Note about fast-forwards’ in ‘git push --help’ for details.
Above problem is also described here:
Looks like there is no solution!
Alternative is to delete the project.
I went into Settings and scroll to bottom.
then clicked Remove Project and got a popup window.
But when ever I hover over the “Confirm” button, there is a STOP sign
indicating Confirm is not allowed.
How to I FORCE a project delete since I can no longer push my master file to this repository?