'Github: How to create a github repo in VS Code remotely without going to github

I am just curious. In XCode I can create a github repo remotely without going to github.

How about doing the same thing in VS Code. Usually we will go to github to create the repo first and use the command lines given to push to github.

Can this be all done remotely in VS Code?



Solution 1:[1]

brew install gh
gh auth login
gh repo create flatclass --public

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Daryl Wong