Skip to content

Instantly share code, notes, and snippets.

@edvaldoszy
Last active October 31, 2019 14:42
Show Gist options
  • Save edvaldoszy/8b7c5a826e6d795bf46ceba1189a106f to your computer and use it in GitHub Desktop.
Save edvaldoszy/8b7c5a826e6d795bf46ceba1189a106f to your computer and use it in GitHub Desktop.
Modificando mensagem de commit
#!/bin/bash
MSG="$(cat $1)"
if [[ "$MSG" =~ ^\#[0-9]+ ]]; then
echo "gam-backlog${MSG}" > $1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment