git @ Cat's Eye Technologies klaus / 1.0.1 tests / repos / scripts / test_repo
1.0.1

Tree @1.0.1 (Download .tar.gz)

test_repo @1.0.1raw · history · blame

#!/bin/bash -e
git init

echo "int a;" > test.c
echo "function test() {}" > test.js
git add test.c
git add test.js
git commit --no-gpg-sign -m "Add some code"

git commit --no-gpg-sign --allow-empty -m "Empty commit 1"
git tag tag1

git commit --no-gpg-sign --allow-empty -m "Empty commit 2"