This script will create a new public Github repo by using a few variables and manual input of your API token for sanity reasons.
Project is created with:
- VSCodium
- Shell
- Your .pub ssh key tied to your Github account.
- Generated Github Personal Access Token.
To run then project, clone this repo and make sure the .sh file is executable
$ cd create-repo/ && chmod +x gitcreate.sh
And replace these variables in the script:
VARIABLES
NEW_REPO_NAME="YOUR_NEW_REPO_NAME"
GIT_USER="YOUR_USER"
GIT_EMAIL="YOUR_EMAIL"
Start with:
$ ./gitcreate.sh
Make the script read sensitive data from an encrypted file.