mcfearsome (owner)

Revisions

gist: 109464 Download_button fork
public
Description:
Saves changes on a git repo as a .diff and then resets the working copy back to HEAD
Public Clone URL: git://gist.github.com/109464.git
Embed All Files: show embed
git-save_changes_as_a_patch.sh #
1
2
3
git diff --binary HEAD > tempPatch.diff
git reset --hard