๐ Steps to Recover Your Deleted Branch
1️⃣ Check Your Git Log Even if a branch is deleted, the commits still exist. Run:
Code Snippet
2️⃣ Find Your Last Commit Look for the commit related to your deleted branch
3️⃣ Restore Your Branch Once you have the commit hash, recreate the branch:
Code Snippet
๐Now you can push your code in that branch and you can able to create PR.๐
No comments:
Post a Comment