Skip to content

Instantly share code, notes, and snippets.

Tom Wadley tomwadley

Block or report user

Report or block tomwadley

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View git-review
#!/bin/sh
# Call with a branch name to merge it and then reset backwards leaving
# all the changes from that branch in the working tree for ease of reviewing.
# The script assumes you are already on the branch you are merging to
# (e.g. master) and have updated your remotes.
# Once you're happy, pass "commit" to reset forwards again.
do_git_review() {
if git diff-index --quiet HEAD --; then
You can’t perform that action at this time.