Introduce old redir program
[lcapit-junk-code.git] / git / git-test-repo
blob6b02e43c9412918d41a5e08c5b5313cc84947653
1 #!/bin/bash
3 REPO=$1
5 if [ -z "$REPO" ]; then
6 echo "you must specify a repository"
7 exit 1
8 fi
10 rm -rf $REPO
11 mkdir $REPO
12 cd $REPO
13 echo "Hello, world" > hello.txt
14 echo "outro, arquivo" > a.txt
15 git init
16 git add .
17 git commit -s -m "Initial import"