Changes between Version 3 and Version 4 of GitCrashCourse
- Timestamp:
- 04/23/10 10:58:54 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitCrashCourse
v3 v4 181 181 }}} 182 182 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.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. 184 184 185 185 ''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: