On my machine, I can do, say: git-rev-list master
...which gives: 50a9291916cf34efde9a822f36752a76d93afcd6 19d51d3e217588ae2a8df0993913552ea682e082 ...and then, picking one: git format-patch --stdout 19d51d3e217588ae2a8df0993913552ea682e082 ...which spits out a patch. On Tue, Dec 30, 2008 at 1:59 PM, yitzhakbg <[email protected]> wrote: > > How can a single commit be extracted from a repository, say as a > patch? > In general, how does one extract any single object by it's SHA1? > Examples please. > > Thanks, > YBG > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---
