0 votes
in Git by
What if one of my teammates accidentally deleted a branch and pushed the changes to the central git repo and I want to recover the branch?

1 Answer

0 votes
by

You need to review the latest commit to the particular branch with reflog. Then, you can check it out as a new branch.

Related questions

0 votes
asked Aug 24, 2023 in Git by JackTerrance
0 votes
asked Aug 24, 2023 in Git by JackTerrance
...