Skip to content

Instantly share code, notes, and snippets.

@marchev
Forked from lopezjurip/script.sh
Created July 20, 2024 14:45
Show Gist options
  • Save marchev/324ed76e8526ebb9270337bfdd3faf1c to your computer and use it in GitHub Desktop.
Save marchev/324ed76e8526ebb9270337bfdd3faf1c to your computer and use it in GitHub Desktop.
Github full code review
# Create empty branch.
git checkout --orphan review
git rm -rf .
git commit --allow-empty -m "Create empty branch"
git push --set-upstream origin review
# Create `project` branch from `master` current state.
git checkout -b project
git merge master --allow-unrelated-histories
git push --set-upstream origin project
# Open a Pull-Request on the Github repository from `project` to `review`. Then you can perform a full-code review.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment