Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9199571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:33:47+00:00 2026-06-17T22:33:47+00:00

I started using git for versioning for binary files (.ai & .indd). I was

  • 0

I started using git for versioning for binary files (.ai & .indd). I was wondering how I would go about exporting every commit of one of those files (or the whole repo) so that afterwards I would have an image sequence which I could use to make a video like this onemoxie doxy which was made from files being saved as typeface(n), typeface(n++)….

so what I guess I am trying to achieve is something like this:

Git archive -o export iterateOverAllCommits EXPORTS_TO (first commit)archive0001.zip, (second commit)archive0002.zip…

After that it’s no trouble to expand/prepare files for video.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:33:48+00:00Added an answer on June 17, 2026 at 10:33 pm

    By combining git archive and git rev-list with a little bash, you can do so.

    COUNT=0
    for commit in `git rev-list --reverse HEAD`; do
      git archive $commit --format=zip -o archive$COUNT.zip
      COUNT=$((COUNT + 1))
    done
    

    git rev-list --reverse HEAD prints out commit hashes starting with the first commit and ending with HEAD.

    git archive $commit --format=zip -o archive$COUNT.zip creates a zip archive of the commit specified by the commit hash from rev-list.

    Both rev-list and archive have a lot of options, which could help you further refine the archives to contain the information you need only.

    Using printf you could easily modify the above to zero-pad the count.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I started cloning an SVN repository using the git-svn's clone operation. After about 6
I have just now started using Git and previously used CVS for versioning. Can
Before I started using Git as my SCM, I would throughly test the code
I've recently started using Git and am having trouble with just one thing. How
I recently started using git-svn, and tried to tell Git to ignore any files
I've just started using git-ftp, which allows me to push my commit to an
I've just started using Git and it's possible I've missed something obvious, but here
I just started using git with github. I followed their instructions and ran into
So I just started using Git and GitHub. It's still a steep climb, but
I am just started using Git, so I apologize if it is a newbie

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.