The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Help

Giovanni Albanese
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 18, 2024

Screenshot 2024-07-18 125228.png 

 

 

Good morning, I'm new to Sourcetree and I find myself in the situation shown in the image. If I click on HEAD or main in the left menu, it highlights the branch that I mistakenly created and then merged. Now, if I make changes to the code and commit them, I can't push them—it's as if I haven't made any changes to the code. When I try to pull from another PC, the last commit I download is exactly the one highlighted.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Brant Schroeder
Community Champion
February 28, 2026

@Giovanni Albanese welcome to the Atlassian community

This occurs when your head on the local machine does not match the branch.  You will need to sync your local branch with the remote branch.  

TAGS
AUG Leaders

Atlassian Community Events