Here's how to create such branch.
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 ci --allow-empty -m 'Code review - nuke all' | |
git push --set-upstream origin code-review |