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: 

Sourcetree branch A losing track of tracked branches B after rename branch A?

Thiếu tá Phạm Xuân Bách
February 14, 2023

I have branch A that keep track of remote branch B.

When I change current active branch to C, and then rename A to A1, I sometimes get this error (sometimes not)

 

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks branch -m Working_20230203 Working_20230215
error: could not write config file .git/config: Permission denied
fatal: Branch is renamed, but update of config-file failed

Completed with errors, see above.

After that sourcetree cannot display A1 to active, I must restart sourcetree and when I active A1 again and pull, it lose track of remote branch B

How to fix this?

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events