Git Export

A colleague wanted to export any files he had worked on within his current branch. Normally, you would use git archive to do that - however - he wanted to export all the files from a series of commits to a local directory without having to extract them from a .zip or .tar file, as well.

Currently unaware of anything that would do that job for us, I wrote a Bash script and posted it up on Github in case it would come in handy for anyone else to use.

Learn Something New Everyday,
Connect With The Best Developers!

& 500k+ others use Hashnode actively.

No Comments Yet