Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to restore deleted branch in remote repository i dint have a local copy?

kiran kanumuri May 3, 2018

I accidentally deleted remote branch How to restore deleted branch in remote repository i dint have a local copy?

2 answers

1 vote
Oman Costa
Contributor
May 3, 2018

If you work in a team, the best idea would be ask someone else that has the branch locally to push it to the server. Is it your case?

Otherwise, you could try this: https://stackoverflow.com/questions/1992364/git-recover-deleted-remote-branch?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

0 votes
kiran kanumuri May 3, 2018

Hmm i checked with  my team the branch i deleted is already merged .so it's not a problem for now as thanks you for your quick and prompt response :)

Oman Costa
Contributor
May 3, 2018

That sounds great! I'm happy that everything went well :D
Best wishes.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events