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

use different paths between local repository and remote repository

Shijo Joseph
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!
May 20, 2021

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?

Eg:

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
TAGS
AUG Leaders

Atlassian Community Events