it -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --prune originFrom https://bitbucket.org/ngeksyo/mac-haik-crm* [new branch] Jaison/master_branch -> origin/Jaison/master_brancherror: cannot lock ref 'refs/remotes/origin/dale/campaign_template_builder': unable to resolve reference 'refs/remotes/origin/dale/campaign_template_builder': reference broken! [new branch] dale/campaign_template_builder -> origin/dale/campaign_template_builder (unable to update local ref)
Hi @Venalyn,
Your local working copy and the remote repository are different enough that Git is unable to resolve that. I recommend cloning the remote repository again to a new location, create a patch from the commits or differences, and then apply it to a new branch. Hope that helps.
Brian GanningerPrincipal Developer, Sourcetree
Hi @Venalyn
@bgannin's solution in large projects is a little: kill a fly with cannonball. You can remove the references to the failing branch in packed-refs, info/refs inside the .git folder
Regards,
It looks like you're new here. Sign in or register to get started.