Created
January 15, 2026 18:13
-
-
Save peteraritchie/b306ffead5a7d3161033cfa736ebf32a to your computer and use it in GitHub Desktop.
create empty local git repo and push as public repo to github
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 . && echo "# $(split-path -Leaf $PWD)" > README.md && git add . && git commit -m "Initial commit." && gh repo create --source=. --public --push; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment