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

How to recover deleted remote branch?

Amit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2023

Hi Team,

Do we have any way to recover a deleted remote branch?

The branch was deleted two years ago.

 

Regards,

Amit Kumar

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2023

Hi Amit,

I'm afraid that we don't have backups that far back and the garbage collections that run on the repository will have removed any dangling commits from two years ago.

The only way to recover would be from a clone of the repo where the branch is still present.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events