Hello git humans,

Being new to git, and cvs in general, I lack the vocabulary to describe what 
I want to do. Here’s my best shot at articulating it:

I have, let's say 10, versions of a file in a git repository that I would 
like to save out as individual files. I thought I had found what I was 
looking 
for<https://git.wiki.kernel.org/index.php/ExampleScripts#Copying_all_changed_files_from_the_last_N_commits>,
 
but the linked example returns an error, from the best I can tell git isn’t 
recognizing the --parents switch, so I ripped it out and it only returns the 
current commit.

But maybe that’s not what I need. I think I need to write a loop that takes 
the diff between each commit and its parent and spits it out as a file until 
the number of revisions I specify is reached.

Anyone have experience with this?


Mark

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to