·
1 min read
How to Recover a Mistakenly Deleted Branch
Workflow git checkout -b newbranchname do some work and commit changed git checkout master git branch -d newbranchname doh... i meant to merge first Fortunately, you can easily recover from this...