Closed john-science closed 5 years ago
Actually, you have two fun little Git tools now. And both have paid dividends already.
Do I / Should I enforce running from the head folder?
# make sure we're at the root of git repo
if [ ! -d .git ]; then
echo "Error: must run this script from the root of a git repository"
exit 1
fi
Just make a quick post about the fun little Git tool you created today.