Created
July 11, 2011 11:53
-
-
Save awendt/1075713 to your computer and use it in GitHub Desktop.
Open the GitHub repository for the current working dir (assuming their names match)
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
#!/usr/bin/env ruby | |
url = "https://github.com/#{%x(git config github.user).chomp}/#{File.basename(Dir.pwd)}" | |
exec "/usr/bin/open #{url}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment