Skip to content

Instantly share code, notes, and snippets.

@pcbulai
Created July 29, 2015 12:38
Show Gist options
  • Save pcbulai/5470348708c74c21fe56 to your computer and use it in GitHub Desktop.
Save pcbulai/5470348708c74c21fe56 to your computer and use it in GitHub Desktop.
Stop fucking my CodeShip builds!
g:commit() {
message="${1}"
if [ $# -gt 1 ]; then
case "$1" in
-s)
message="${2} --skip-ci"
;;
esac
fi
git commit -m "${message}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment