Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

You cannot create a branch at '' because a branch already exists at ''. If '' is not a branch convert it back to a folder and retry the operation

We keep getting this error whenever i try to create a new branch.

You cannot create a branch at $/Power Web Portal/UTMBSolutionsMaster/ProVostWebApps because a branch already exists at $/Power Web Portal/UTMBSolutionsMaster/ProVostWebApps/EmployeePortal-Teaching. If $/Power Web Portal/UTMBSolutionsMaster/ProVostWebApps/EmployeePortal-Teaching is not a branch convert it back to a folder and retry the operation.

I tried the tf delete command but its not able to find that branch as it has already been deleted. Here is a screenshot of the deleted branches

enter image description here

Can anyone please suggest how i can get rid of this error ?

like image 387
Surya Garimella Avatar asked Jan 30 '23 23:01

Surya Garimella


1 Answers

i tried to 'Undelete' the branch first and then i converted it to a folder(Rightclick > Branch > ConvertToFolder) and then deleted it again.

This worked for me.

like image 53
Surya Garimella Avatar answered Feb 02 '23 12:02

Surya Garimella