0

I accidentally locally deleted a GitHub branch with an ongoing PR. How can I restore it locally so that I can continue making and pushing modifications to the PR?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437

1 Answers1

0

I found the answer I was looking for here: How to download a branch with git?

git checkout -t origin/branch-name