I am running Sourcetree v184.108.40.206 on Windows 7.
I have this option configured in my settings:
I thought this setting would cause my git log/history graph to update automatically and update the log with the latest commits that have been pushed to my remote repo. Instead, I find I have to press F5 or hit 'Fetch' for the log to show the latest commits.
Is there a bug here? Or does this setting do something else that I'm not aware of? If it is the latter, what is it actually doing?
There is no bug here -- Git doesn't automatically pull changes for you. That setting will alert you if there are changes on the server (so you can fetch/pull)
Due to the fact that changes can conflict, we aren't going to automatically pull them for you and possibly cause a conflict.
Thanks @Jesse Yowell - I understand that pulling commits will modify my local source, but I thought fetch didn't modify my local source, it only fetched the latest commits into my local git repository somewhere in my .git folder (which I could then choose to pull into my source).
I was expecting this setting to auto-fetch for me.
@Joshua WilliamsGot it-- yeah. We won't auto-fetch for you. However, I thought this would be rather neat: https://stackoverflow.com/questions/10464039/git-automatic-fetching-from-remote-repositories
You could possibly set an alias to fetch the changes and check the status. Note: This won't check for conflicts!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs