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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.