NPM just got support for this: npm/npm@bfcd368
I think it would be useful in Bower too.
So instead of doing this: bower install git://github.com/maccman/package-jquery.git, you can already to this bower install git://github.com/maccman/package-jquery, since GitHub redirect to the .git, but would be handy to be able to do this: bower install maccman/package-jquery.
bower install git://github.com/maccman/package-jquery.git
bower install git://github.com/maccman/package-jquery
bower install maccman/package-jquery
Add github shorthands support (with tests), closes #121.
Done, also added support for username/project#tag
Nice work @satazor :)
Someone needs to update the docs to reflect this change.
FWIW, I think this is a bit of a confusing change to the project and could have benefitted from more discussion. What this effectively does is create a parallel registry - GitHub.
There is docs for it: https://github.com/twitter/bower#usage
Why is it confusing? You could already install directly from a git repo. This is just a shorthand for GitHub repos, since that's where most packages are anyway, though there is no lock in to GitHub.