git @ Cat's Eye Technologies klaus / fix-anchor-links-in-readme tests / repos / scripts / no-newline-at-end-of-file
fix-anchor-links-in-readme

Tree @fix-anchor-links-in-readme (Download .tar.gz)

no-newline-at-end-of-file @fix-anchor-links-in-readmeraw · 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 1 > test
echo -n 2 >> test
git add test
git commit -m old

echo 1 > test
echo 2 >> test
git add test
git commit -m new