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
  • 107,083
  • 22
  • 201
  • 376

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