Hi guys,
I'm trying to get my local repo to connect to a remote repo on bitbucket that I just created. The remote repo is completely empty, it doesn't even have a gitignore. Even so, when I try to push a commit to the remote repo, it throws an error saying "the remote contains work that you do not have locally" which makes absolutely no sense to me. It suggests pulling from the remote, which I tried, and it just gives me another error that I can't even decipher. Below is a screenshot to both:
as with everything, as soon as I get frustrated enough to make a post asking for help, I find the answer. Apparently I was supposed to fetch instead of pull, now the repo works exactly as expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.