First of all, I am relatively new to version control, so I hope I am describing my issues below correctly, sorry if I am not.
I am working off two machines, one Mac and the other Windows. I have used the Windows machine to push changes to my master repo with the use of SourceTree. For some reason the changes are not getting recognised by my master repo and therefore when I shift to using the Mac there is nothing to pull. This issue has only just become evident recently and up until now, I have had no problem.
The reason I have to shift between machines is that I am sharing my wife's Mac with her, and when she working, I have to use the Widows machine.
Thanks in advance,
Hi @Marcus Cattanach , welcome to the Community!
With git, it's possible to commit to the local master/main branch without pushing to remote/origin. I'd first recommend checking in Sourcetree on the Windows machine to see if you see your latest commits when clicking through the sidebar to select Remotes > origin > master.
From there, I'd suggest looking at your repository in the web interface at bitbucket.org - if you don't see the latest commits there, they didn't push.
Finally, you can try a Fetch on the Mac. This should load all the information from bitbucket.org so if things did get out of sync somehow, the latest commits will be available before you do the pull operation.
By going through those three items one at a time, it should narrow down where things are getting stuck. Let me know at what point things have stopped looking right at and we can troubleshoot further!
Thanks for taking the time to answer my query Daniel. I checked the local repo as compared to the remote and the remote was not updated like the one on local. I therefore just deleted the local repo and cloned it again, from remote, and started again. There wasn't a whole lot of commits on local so it didn't take me a huge amount of time. I did all of the above before I saw your response, sorry I didn't put it to the test. I did have a look at your suggestion to check that the local commits are pushed to the remote, is the following screenshot what you were talking about?
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events