Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (11 sloc) 0.18 kb
#!/bin/bash
function output_help {
echo "usage: git-uncommit <sha1>"
}
sha1=$1
file=$2
if [[ $sha1 ]]; then
git diff $sha1..$sha1^ | patch -p1
else
output_help
fi
Jump to Line
Something went wrong with that request. Please try again.