Skip to content

Instantly share code, notes, and snippets.

@v1nn1k
Forked from lopezjurip/script.sh
Last active November 19, 2021 12:37
Show Gist options
  • Save v1nn1k/73ce68bd72fdd1f1e009ec5b238166c1 to your computer and use it in GitHub Desktop.
Save v1nn1k/73ce68bd72fdd1f1e009ec5b238166c1 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` or `main`, or whatever branch your code is located in.
git checkout -b project
# MAKE SURE TO PUT IN YOUR BRANCH NAME :)
git merge <main|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