-
-
Save brianray/0c94296a73380a89aff48770b87c8e00 to your computer and use it in GitHub Desktop.
Create Empty Orphan Branch for Code Review
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create empty orphan branch for code review | |
git checkout --orphan code-review | |
git rm -rf . | |
git commit --allow-empty -m 'Code review - nuke all' | |
git push --set-upstream origin code-review |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment