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

Tree @master (Download .tar.gz)

test_repo @masterraw · history · blame

#!/bin/bash -e

# This should prevent this script to load the local git user config: 
# (HOME overwrite)
HOME=../../../git-config

git init

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

git commit --allow-empty -m "Empty commit 1"
git tag tag1

git commit --allow-empty -m "Empty commit 2"