TechReborn/genChangelog.sh
2015-09-08 19:43:53 +01:00

15 lines
283 B
Bash
Executable file

#!/bin/bash
#This makes a change log between two git commits.
#Run like ./genChangelog.sh 65f3b30 8aafd11
if [ "$#" -ne 2 ]; then
echo "Usage: $1 COMMIT1 $2 COMMIT2" >&2
exit 1
fi
git shortlog $1...$2 > changelog.txt
echo "The changelog has been saved into chnagelog.txt!"