Skip to content

Instantly share code, notes, and snippets.

@oscarmorrison
Last active June 5, 2016 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oscarmorrison/9d9e4eb8e228dd17eaa17f1f400b0e63 to your computer and use it in GitHub Desktop.
Save oscarmorrison/9d9e4eb8e228dd17eaa17f1f400b0e63 to your computer and use it in GitHub Desktop.
Open Waffle from Repository
# https://github.com/youUsername/repoName.git
# https://waffle.io/youUsername/repoName
url=$(git config --get remote.origin.url)
url=$( tr '[A-Z]' '[a-z]' <<< $url)
url=${url%.git}
url="${url/github.com/waffle.io}"
echo $url
open $url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment