Re: patches between commits
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Dec 12, 2005, 17:33 UTC
- Message-ID
- <20051212173352.GA3007@steel.home>
- In-Reply-To
- <7ac1e90c0512120731g3eacdcf0s7e9d1226c88dce73@mail.gmail.com>
Bahadir Balban, Mon, Dec 12, 2005 16:31:12 +0100:
> Suppose I have a HEAD branch, which is the latest. And I want to > generate `individual' patches for each commit I did since the > beginning of development for this branch.
That is what I think "git format-patch <commit>" is for. It will generate patches to bring "<commit>" to HEAD.
> Secondly, is the sha1 of a tree what appears next to each commit when > I type git-log? Is this the only command that lets us know the sha1's > of commits?
"git rev-list", I think