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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events