You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Where I've renamed "master" to the more PC "main" branch name, the source tree "pull" button/action now does nothing. No failure messages either. Repos that still use "master" pull fine.
Workaround: I have to go to terminal and run "git pull" there.
This seems to keep occurring. A "main" tag is added somewhere (not sure if it's github or Sourcetree) adding this. The tag isn't updated to reflect the latest change, and then the "main" branch and "main" tag disconnect. "main" tag is many revisions behind, and Sourcetree stops it's "Pull" at the tag instead of latest "main" branch. "git pull" from the command line on the other hand pulls latest.
Deleting the tag on the origin branch was just a temporary fix.
I think this may be caused by having a remote tag also called main. I ran the following to the remote host to clear up the confusing. I was also hitting problem trying to branch with ambiguity of the "main" branch. Now I seem to be able to pull and branch properly from the UI. I hope this helps others, since I saw many posts trying to solve this in various ways that don't work.
git tag -d main
git push origin :refs/tags/main
in my case the second needed to be the following to destroy the tag on github
git push https://personalaccesstoken@github/username/repo.git :refs/tags/main