Could not push to repo even after I deleted it remotely

The Git error “updates were rejected because the remote contains work that you do not have locally” was popping up on me after I tried to push to a repo that I had previously deleted and recreated from scratch. I thought that maybe locally it was retaining some information. But at somepoint not sure what I executed to give me this message but git told me that I should rename repo to the name below. I then went to gitlab and looked in the inactive section and saw the below there. I went ahead a deleted it and then I could push to git.

note that I also ran into another problem where it would’nt let me publish to version 1.0.0. it was telling me that it already existed but it did’nt. so I went ahead and set it to 1.0.1 and it worked. very odd.

Leave a Reply

Your email address will not be published.