setup.sh (275B)
1 #!/usr/bin/env bash 2 rm -rf repo 3 mkdir -p repo 4 5 # initialize repository 6 cd repo 7 git init 8 git config user.name 'Dev Eloper' 9 git config user.email 'dev@eloper.org' 10 11 # create content 12 echo 'Hello CS107/AC207!' >hello.txt 13 14 # create commit 15 git add hello.txt 16 git commit -m 'Initial'