Last active
October 2, 2023 13:33
-
-
Save BitWizCoder-ol/83fa00df91d854645fff5cc5be42bef0 to your computer and use it in GitHub Desktop.
Create and push repo from the command line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
git add . | |
git commit -m "initial commit" | |
gh auth login (if not logged in) | |
gh repo create "$(basename "$PWD")" --public --source=. --remote=upstream --push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment