Skip to content

Instantly share code, notes, and snippets.

@wjlafrance
Created February 22, 2012 01:33
Show Gist options
  • Save wjlafrance/1880472 to your computer and use it in GitHub Desktop.
Save wjlafrance/1880472 to your computer and use it in GitHub Desktop.
#! /bin/bash
git checkout -b $1 && mv $3 /tmp/superdiffr1-$3
git checkout -b $2 && mv $3 /tmp/supprdiffr2-$3
git checkout HEAD
opendiff /tmp/superdiffr1-$3 /tmp/supprdiffr2-$3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment