git diff --staged > mypatch.patch
git diff --patch --staged > changes.patch; git commit -m 'temp'; git reset --hard HEAD^