Nader's Daily Blog
Welcome to Every Developers favorite blog in the Devosphere

New product features | The latest in technology | The weekly debugging nightmares & more!

Create a new repo and push your code with 1 click

Create a new repo and push your code with 1 click

July 25, 2023

Nader Elmahdy

Nader Elmahdy

Take my knowledge and shove it up your brain...

Literally 1 click will create a new repo and connect it with your project

Github

What's the traditional way to create a GitHub repo and push your code to it?

Going to GitHub, creating a new repo, then running some commands like these in your terminal:

What a waste of time.

Vscode already has a built-in GitHub extension that saves you a ton of time.

All you have to do is click on the git icon on the left, the click Publish to GitHub.

Pick a name for your repo and choose whether you want it public or private,

And that's literally it.

Your project is now linked to that repo and you can push and pull like you'd normally do, and it only took like 3 clicks and a few seconds!