Create an empty branch with one empty commit
- Create new branch
git checkout --orphan review-1-target - Reset
git reset . - Clean branch
git clean -df - Add empty commit
git commit --allow-empty -m 'Empty commit'
Rebase a branch to put this commit at the root
- Push to your fork
git push -u origin review-1-target - Move to branch to review
git checkout origin/main - Spin-off branch from here
git checkout -b review-1 - Rebase to empty branch
git rebase -i review-1-target, the empty commit must be at the start - Push
git push -u origin review-1
That should make a pull request possible, providing the code review tooling. source