by mistake one of my developer deleted the branch how to recover?
Hi @shubh and welcome to the community.
If the remote branch was deleted on Bitbucket Cloud website, as Hana mentioned, one of your developers may have it in their local clone, and they can push it again to Bitbucket.
If a local branch was deleted in a clone of the repo and the branch exists on Bitbucket, it can be pulled locally.
If a local branch was deleted before it was pushed to Bitbucket, you may be able to restore it from the git reflog or dangling commits, you can check the following KB for more details:
Kind regards,
Theodora
Hi @shubh ,
welcome to the Atlassian Community!
If somebody has local copy of the repository, it can be easily pushed back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.