# newrepo ## Intro This utility is for creating a new GitHub repo from the command line. I made these because a lot of the time, I have to do things locally and _then_ figure out getting the repo made and synced, etc. Now, I am (and by extension you are) capable of just creating a new repo from content that already exists in a directory. __You do need to have at least one file in the directory to commit. It will always commit with the comment `Initial commit`, unless of course you change it. Which you can... well, you may, idk if you can, that's not really on me, is it? Nope. Not even a little bit. Change or no change or whatever. idc 🤷🏻‍♂️__ Also, you need to have [GitHub CLI](https://cli.github.com/) installed. ## Windows 1. Copy the newrepo.cmd file to a location in your PATH ## Not Windows 1. Copy the newrepo.sh file to a location in your PATH (maybe even remove the `.sh` file ending?) 2. Make it executable: `chmod +x newrepo.sh` ## Finally In a new directory, type: `newrepo [reponame]` The `reponame` argument is optional. If not provided, it will use the `cwd` as the repo name.