DEV Community

rajat
rajat

Posted on

Convert any Github Repo to VS Code Environment

To open a GitHub repository in GitHub.dev, you can follow these steps:

  1. Go to the GitHub website and find the repository you want to open. For example, let's say you want to open the repository [example/repo](https://github.com/example/repo).

  2. In the URL, locate the .com portion, which in this case is github.com.

  3. Swap the .com with .dev in the URL. So, in our example, github.com becomes github.dev.

  4. The updated URL would be [https://github.dev/example/repo](https://github.dev/example/repo).

  5. Open a new tab in your web browser and paste the updated URL into the address bar.

  6. Hit Enter or Return to navigate to the URL.

  7. The GitHub repository will now open in GitHub.dev, providing you with a web-based code editor environment powered by Visual Studio Code.

  8. From here, you can edit the code, view branches, open pull requests, and collaborate with others in real-time, all within the GitHub.dev environment.

Remember, this process allows you to open a GitHub repository directly in GitHub.dev without needing to download or install any additional software. It provides a convenient way to quickly access and work on your code within a web-based IDE.

Top comments (1)

Collapse
 
tyler36 profile image
tyler36

Thanks for the tip.

You can also visit a Github repo and press the . (full stop) key.
The repo will automatically open in a VScode browser session.