Created
September 24, 2015 12:40
-
-
Save tebeka/530a8cee7238aa445ae2 to your computer and use it in GitHub Desktop.
Create Empty Orphan Branch for Code Review
This file contains hidden or 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 ci --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