Changes between Version 3 and Version 4 of GitCrashCourse


Ignore:
Timestamp:
04/23/10 10:58:54 (14 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GitCrashCourse

    v3 v4  
    181181 }}}
    182182
    183 So, what happens if you change HEAD^1^ to HEAD^3^ ... well, you get the 3 top-most commits as patch files.  ''git format-patch'' will report the file names it generates on-the-fly.
     183So, what happens if you change {{{HEAD^1}}} to {{{HEAD^3}}} ... well, you get the 3 top-most commits as patch files.  ''git format-patch'' will report the file names it generates on-the-fly.
    184184
    185185''git format-patch'' can also take commit ID's which you find in the commit log, in addition to branch names and tag names.  So if you want to have all commits from OpenVPN 2.1_rc15 to OpenVPN 2.1_rc22 ... you can do: