Thanks @jenovs. But when I get to the git pull
step I get a message saying “fatal: refusing to merge unrelated histories
” After googling, it looks like this is a message for preventing (as message suggests) completely unrelated pieces of code from being merged together. It can, however, be forced which at this point, I’m willing to try: git pull origin master --allow-unrelated-histories
.
This led to another error: Your local changes to the following files would be overwritten by merge
.
This might be because I have done so many things wrong (run commands out of order) by this point that that is a valid error.
However, what is the best way to re-start this process? Delete remote repo and follow steps from scratch to update remote repo (as per my steps here)?
Thanks.