Changes between Version 5 and Version 6 of github


Ignore:
Timestamp:
04/25/13 10:11:00 (11 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • github

    v5 v6  
    5454git push origin jb:jellybean
    5555}}}
     56
     57== Patches ==
     58=== create patch from uncommitted stuff ===
     59Write down die Hash of the last commit
     60do a temporary commit.
     61create the patch for the temporary commit:
     62{{{
     63git format-patch -1 <Hash of the temporary commit>
     64}}}
     65reset the temporary commit:
     66{{{
     67git reset --mixed <Hash of the commit before the temporary commit>
     68}}}
     69=== Check and apply patch ===
     70Check the patch:
     71{{{
     72git apply --check <file.patch>
     73}}}
     74Apply the pathc with am (that allows to sign off the patch)
     75{{{
     76git am --signoff <file.patch>
     77}}}