Results 1 to 2 of 2
I could simply do:
Code:
$ git diff > patchfile.patch
if I haven't setup [diff] external = extDiff
I can temporary disable this external GUI diff tool. But just wondering ...
- 09-16-2011 #1
Create git patch for uncommitted changes?
I could simply do:
if I haven't setup [diff] external = extDiffCode:$ git diff > patchfile.patch
I can temporary disable this external GUI diff tool. But just wondering ifwould have built in support for generating such patch.Code:$ git format-patch

Great thanks,
- 09-20-2011 #2
I don't the way to do that..but why not commit the changes and take patch using "git format-patch -M -1" and then do "git reset --hard <previous-patch-commit-id>"
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote