Skip to content

Instantly share code, notes, and snippets.

View tylernhoward's full-sized avatar

Tyler Howard tylernhoward

View GitHub Profile
@tylernhoward
tylernhoward / contrast-commit.sh
Last active December 11, 2018 18:38
Utility script to parse ticket number out of branch name
#!/bin/bash
### Contrast specific utility script
### - Automatically formats a commit message based on the Jira ticket found in the branch name
### ARG1 = "commit text", ARG2 = "-skip" flag
# get commit message from arg
if [[ $1 == "" ]]; then
echo "No commit message given. Try again: -> commit \"message\""
exit 1;
### Keybase proof
I hereby claim:
* I am tylernhoward on github.
* I am tylerhoward (https://keybase.io/tylerhoward) on keybase.
* I have a public key ASAIK3YGu6dq1d4B1QmWQHKGLmpryYzxq10l8AK9ybXKxwo
To claim this, I am signing this object: