``` # save your working copy changes git diff > some.patch # re-apply it later git apply some.patch ```