If you're browsing the repo on github, you can pull a diff by appending ".diff" onto a commit-view URL. Example: http://github.com/defunkt/github-gem/commit/4c859011b3853e338d0849fbff13db1285b6fa1a.diff
Tekkub Github General Support http://support.github.com/ Join us on IRC: #github on freenode.net Discussion group: [email protected] On Tue, Dec 30, 2008 at 3:14 PM, Michael Terry <[email protected]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
