Newer
Older
# This should prevent this script to load the local git user config:
# (HOME overwrite)
HOME="."
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 commit --allow-empty -m "Empty commit 2"