#!/bin/sh

repo=my-repo

rm -rf $repo
mkdir $repo
(cd $repo
 git init
 mkdir subdir
 date > subdir/file1.txt
 date > subdir/file2.txt
 git add subdir
 git commit -m "initial revision"
 date > new-file.txt
)
