Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,485
Community Members
 
Community Events
184
Community Groups

Local Branches Missing - Detached Head

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.Sourcetree 1.PNG

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.Remote Branches.PNG

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.

leuart_development.PNG

Can anyone help me understand what is happening? Any suggestions for moving past this issue would be much appreciated.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events