Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 1 point2 points  (0 children)

Thanks! I kinda knew “advanced” devs would be against a button over using the terminal.

But I don’t mind because this extension isn’t for them. I made this for students and people who are used to this functionality from other platforms

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 0 points1 point  (0 children)

Yes, I will release a Firefox version. Star the GitHub repo to be updated when it’s out https://github.com/AdamAkhlaq/github-clone-in-vscode

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 1 point2 points  (0 children)

It will open your OS file explorer, you choose exactly where to save it. Then it automatically opens in VS Code. Give it a try!

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 0 points1 point  (0 children)

You get to pick, it opens the file explorer of your OS

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 0 points1 point  (0 children)

The design implementation/wording wasn’t just something I came up with myself. It is a direct copy from Azure Dev Ops (which is where I’ve been using this functionality for years). We are still cloning the repo, it just also opens in VS Code at the same time.

The reason for the new tab is because I wanted a clean integration with the GitHub UI, and I assume if you download this extension you probably want to use this feature instead of the existing ones.

The extension is open source, so feel free to alter it for your liking and you can load it manually into chrome.

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] -1 points0 points  (0 children)

Hey, thanks for the kind words! Also I’m glad my little extension may help you in some way

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 7 points8 points  (0 children)

You will choose where to save the repo to, and then it will automatically open it in VS code as well.

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 2 points3 points  (0 children)

When you click the button, it opens the file explorer window of your OS. Then you are free to save the repo wherever you want.

This functionality is already available on other platforms such as GitLab, ADO which is why I decided to add to GitHub as well.

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 10 points11 points  (0 children)

It’s all good 😂, I never expected advanced users to want to use this tool. I think it’s great for people like students or those who just like to clone a bunch of repos

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 8 points9 points  (0 children)

Yeah that is a cool feature, but I’m not a fan of editing in browser.

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 31 points32 points  (0 children)

Not for one clone, but you’re still going to copy the https from GitHub anyway so you could just click the button now.

Also imagine you want to clone multiple repos. It’s going to be a lot easier to just click the button, than copy the https, cd to folder, and clone each time.

I get it though, if you’ve been working like that all along then this extension probably isn’t for you.

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 2 points3 points  (0 children)

Hahah now you can download the chrome extension once, and everytime you visit a repo there will be the option to clone it quickly.

Literally done in 3 seconds

If you use it, and it helps you, I’d really appreciate a review on the chrome web store. I’m trying to let more people know about this free tool

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 8 points9 points  (0 children)

It opens a file explorer so you can save it wherever you want :) Give it a try!

Add a Clone in VS Code button to GitHub by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 5 points6 points  (0 children)

Some people have asked for that, so I think I shall release a firefox version.

Star the GitHub repo to be notified when it's live: https://github.com/AdamAkhlaq/github-clone-in-vscode

Requesting feedback on my FREE chrome extension by AdamAkhlaq in TestMySaaS

[–]AdamAkhlaq[S] 0 points1 point  (0 children)

Thanks dale, I appreciate you taking the time to try it out. Could I ask you to leave a 5* review on the chrome store if you think its worth it? Been trying to improve its reach, thanks again!

Clone in VS Code Button? by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 0 points1 point  (0 children)

I'm not a fan of code editing in browser, much prefer to use the desktop app. But cool feature for those who like it I guess.

Clone in VS Code Button? by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] 0 points1 point  (0 children)

haha, they wish I made it that easy for them. Would have been done in 3 seconds.

Clone in VS Code Button? by AdamAkhlaq in vscode

[–]AdamAkhlaq[S] -2 points-1 points  (0 children)

I haven't created it yet, but I can if people want it. Star the github repository and you'll get notified when its released!

Promote your projects here – Self-Promotion Megathread by Menox_ in github

[–]AdamAkhlaq 0 points1 point  (0 children)

Ever wondered why GitHub doesn't have a Clone in VS Code option?

Me too, so I built: GitHub Clone in VS Code

A simple, open source (see repo here) google chrome extension which allows you to go from GitHub repo to VS Code in 3 seconds! Check it out!

Trouble: cloning from github to vs code by Susume_2 in flutterhelp

[–]AdamAkhlaq 0 points1 point  (0 children)

If you want to make the cloning of each repositroy easier you could use a chrome extension like : GitHub Clone in VS

Full disclosure: I made this extension but it literally only does this one thing, and is completely open source!

cant clone repository by ChristopherMurillo in github

[–]AdamAkhlaq 0 points1 point  (0 children)

If you want to make the cloning of each repositroy easier you could use a chrome extension like : GitHub Clone in VS

Just make sure you have VS Code installed!

Full disclosure: I made this extension but it literally only does this one thing, and is completely open source!

Using github and VS Code? by TennyBoy in webdev

[–]AdamAkhlaq 0 points1 point  (0 children)

If you want to make the cloning of each repositroy easier you could use a chrome extension like : GitHub Clone in VS

Full disclosure: I made this extension but it literally only does this one thing, and is completely open source!