Skip to content
AntonPetrov edited this page Jan 20, 2012 · 1 revision

Historical commits

Before moving to Github, all code was archived in .zip files by Dr. Craig Zirbel. These zip files were used to create historical commits using the following code:

#!/bin/bash
for f in ~/Dropbox/BGSURNA/FR3D\ archived\ versions/*.zip
do
    echo $f
    rm -R *
    cp "$f" .
    file=$( echo ${f##/*/} )
    unzip "$file"
    rm "$file"
    git add -A
    git commit -m "$file"
done
Clone this wiki locally