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

Sourcetree lose tracked branch after pushing

Thiếu tá Phạm Xuân Bách January 23, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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
AUG Leaders

Atlassian Community Events