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

Tree @1.2.0 (Download .tar.gz)

test_repo @1.2.0raw · 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"