DEV Community

Cover image for Open github repo in Visual studio code without cloning or downloading on local
Indrakant Mishra
Indrakant Mishra

Posted on

Open github repo in Visual studio code without cloning or downloading on local

Hey guys, many times we need to just download or clone the repo which we are not even going to keep in local for long time and delete it after checking the code in our IDE. So to remove all these and just review the github repo code online itself in popular VSCode editor we have a trick which can save a lot of your time.

Step 1: Click on the URL bar in your browser. (it should be editable now)
Step 2: Replace https://github.com/ with https://github1s.com/ and hit enter

And that's it 🤯😲.

now you can view all repo files and folders just like you view in your local vscode.

Hope that helped you 😊

Top comments (2)

Collapse
 
gabsdocompiuter profile image
Gabriel Monteiro

nice! but if you are logged in, can just tap dot ( . ) and github will go to github.dev with a official vscode page for the repo

Collapse
 
darkterminal profile image
Imam Ali Mustofa

Broo..... this is awesome!