Last Updated: December 24, 2019
·
3.774K
· moox

Quick access to a Github repo via address bar

You use Github a lot ? And go to a lot of differents repositories directly to the website ? Here is a nice way to hijack a browser feature: Search Engine shortcut !

Chrome address bar > Right click > Edit Search Engines.

Add

Github    git        https://github.com/%s

Type in your address bar git user/repo.

It will send you directly to https://github.com/user/repo

Here is this tip in a image !
Picture

6 Responses
Add your response

Actually, url should https://github.com/%s

Thanks for tip.

over 1 year ago ·

Good tip for mac users. Windows users have a shortcut with TAB (explained here : http://chrome.blogspot.fr/2009/07/tip-quick-site-searches-with-omnibox.html)

Thanks !

over 1 year ago ·

@ahmet Oups it's was a trailing * from italic. Fixed :)

over 1 year ago ·

If only I somehow didn't have to enter the "User" part...

over 1 year ago ·

@dpashkevich You can use the same technique with ... gitme... & https://github.com/YOU/%s :)

over 1 year ago ·

@moox but that would search among only my repos. What I'm saying is that I wish there was some kind of "I'm feeling lucky" search functionality on github that would automatically take you to the most relevant result instead of showing the result page. E.g. when I type grunt, it's VERY likely that I want to navigate to https://github.com/gruntjs/grunt although many other users have a repo with the same name. I don't want to type the "username" part, I don't remember it anyway most of the time, I just remember the name of the project.

over 1 year ago ·