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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hey all,
I'm experiencing some very strange behavior with git using Sourcetree and cannot seem to determine the cause of the issue. The problem began after making a commit and pushing it to a branch that was being tracked in the remote repository.
Now when I open Sourcetree I can no longer see any of my local branches. My IDE lists that I'm working with a detached head.
If I check my remote branches I can see every branch other than the one which I last committed to. However any attempt to pull or fetch from the repo gives me the warning "reference broken" and is unable to update the local ref.
When I look at the repository online all of the branches are there, including my last commit. This repository can be cloned into a new local repository that operates as expected.
Can anyone help me understand what is happening? Any suggestions for moving past this issue would be much appreciated.