Last active
June 5, 2016 16:38
-
-
Save oscarmorrison/9d9e4eb8e228dd17eaa17f1f400b0e63 to your computer and use it in GitHub Desktop.
Open Waffle from Repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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