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

use different paths between local repository and remote repository

I have the local repositores arranged in to multiple paths based on tasks I am performing but when I push the changes to remote it need to be in a different path structure. I can push the local to remote first time by changing the path of remote branch, but later my local branch disappears from list of avilable branches to sync. 

How do I handle this?


Fetched data from remote: dev/Sprint201/CustomCodeBase/

local branch dev/CustomCodeBase/JIRATICKET_2205

Now I can push 'dev/CustomCodeBase/JIRATICKET_2205' into remote branch dev/Sprint201/JIRATICKET_2205 by updating remote branch drop box while pushing for the first time.

However next time I try to push my local brach does not appear in the push list. If I rename my local branch to match my remote branch the it will appear in push list. 

How do I resolve this issue?

If this is not the way it is supposed to work, what is the best approach to achive different local grouping that is different from remote in Sourcetree?

0 answers

Suggest an answer

Log in or Sign up to answer
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,199 views 5 14
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