Get startedGet started for free

Managing branches

After a PR has been approved and merged the next step is usually to delete the branch the PR came from. This is a good habit as it keeps a repository clean and makes sure that branches are used for specific tasks. But what if you deleted a branch and now need to go back in to correct something?

How do you bring a branch back after deleting it following a PR?

This exercise is part of the course

Introduction to GitHub Concepts

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise