Skip to content

Instantly share code, notes, and snippets.

@octylFractal
Last active November 17, 2015 07:49
Show Gist options
  • Save octylFractal/660dc1fd71dfca4efe0e to your computer and use it in GitHub Desktop.
Save octylFractal/660dc1fd71dfca4efe0e to your computer and use it in GitHub Desktop.
for when you have no good comment
#!/usr/bin/env bash
git commit "$@" -m "$(curl -s http://whatthecommit.com/index.txt)"
exit $?
#!/usr/bin/env bash
# first, cd to a place on your $PATH
# then just do
# bash -c "$(curl -fsSL https://gist.githubusercontent.com/kenzierocks/660dc1fd71dfca4efe0e/raw/97b25b695e25efdc7475b6d84cb658d6b73c7257/install.sh)" "
# or copy the commands below.
curl https://gist.githubusercontent.com/kenzierocks/660dc1fd71dfca4efe0e/raw/b0aa5f296e6a01fd9d3a73bf92bc33a3abdc6095/git-nocomment.sh > git-nocomment
chmod +x git-nocomment
echo "Installed in $(pwd)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment