Skip to content

Instantly share code, notes, and snippets.

@peteraritchie
Created January 15, 2026 18:13
Show Gist options
  • Select an option

  • Save peteraritchie/b306ffead5a7d3161033cfa736ebf32a to your computer and use it in GitHub Desktop.

Select an option

Save peteraritchie/b306ffead5a7d3161033cfa736ebf32a to your computer and use it in GitHub Desktop.
create empty local git repo and push as public repo to github
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