Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sourcetree lose tracked branch after pushing

Edited

I have a base branch "working".

Now I create a branch "/bug/mix/fix_bug_of_program" and make it track working.

Then I change some file, pull from working, commit change and push it to remote branch "/bug/mix/fix_bug_of_program"

Then I check and it lost track to working (when pull, it so remote branch to pull is "/bug/mix/fix_bug_of_program" instead of "working", and when right click/ track remote branch it has no tick in origin/working)

So how to prevent Sourcetree from losing tracked branch after pushing?

 

1 answer

0 votes
minnsey Atlassian Team Jan 25, 2019

Hi

If you push local branch "/bug/mix/fix_bug_of_program" to remote branch "/bug/mix/fix_bug_of_program" then you have changed the tracking from 

"/bug/mix/fix_bug_of_program"-> working

to

"/bug/mix/fix_bug_of_program" -> "/bug/mix/fix_bug_of_program"

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,085 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you