Codebase list brewtarget / 28975076-9a8b-4a04-a01b-9c613ea92d04/main setupgit.sh
28975076-9a8b-4a04-a01b-9c613ea92d04/main

Tree @28975076-9a8b-4a04-a01b-9c613ea92d04/main (Download .tar.gz)

setupgit.sh @28975076-9a8b-4a04-a01b-9c613ea92d04/mainraw · history · blame

#!/bin/bash

echo ""
echo "Setting up brewtarget git preferences"
echo ""

# Enforce indentation with spaces, not tabs.
git config --file .git/config core.whitespace tabwidth=3,tab-in-indent

# Enable the pre-commit hook that warns you about whitespace errors
cp .git/hooks/pre-commit.sample .git/hooks/pre-commit