Skip to content

Instantly share code, notes, and snippets.

@lopezjurip
Created September 25, 2016 02:08
Show Gist options
  • Star 35 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save lopezjurip/56fbe6d00f35824988dd7684e0d6dc48 to your computer and use it in GitHub Desktop.
Save lopezjurip/56fbe6d00f35824988dd7684e0d6dc48 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.
@Nostromos
Copy link

❤️‍🔥 This is great and exactly what I needed. Thanks.

@lopezjurip
Copy link
Author

It's quite remarkable that a gist I created seven years ago is still proving to be useful to people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment