Small Tool to Ease tasks on Fedora, learning more bash, git and gh-cli
this will create a new repository , set it as public, give it a name, add a symbolic README.md file on remote, define a "Description" for the repository, and when it's finished will be cloned and and change directory into it and quickly add a generic README.md to push.
$ gh repo create <your-new-repo-name> --add-readme --description "your-very-original-description" --public -c && cd <your-new-repo-name> && echo "This is the README.md file" > README.md && git add . && git push -u
Personally I like to start a project like this, since it saves the time to create a directory, initialize the project, then go ahead and open up your account, create and name the project over GitHub, or in whatever order you do your things but this way is faster.
$ mkdir -p < My project Name > && cd <My project name> && git init && echo "This is the README.md file" > README.md && git add . && git commit -m "First project commit" && gh repo create --public <my generic-name> --description "My generic Description" --source=. --remote=upstream --push
crete repository, makee it public, set a name, source your actual directory you are on to start the tracking file ".git", define the upstream and assumming you at leaste have a README.md file added to stack and 1 commit, it would be pushed (Yes this also assumes you are already authorized/logged in and your credentials and id set up, and inside the root directory of the project otherwise the source part would be pointless)
$ mkdir -p <my-generic-repo-name> && cd <my-generic-repo-name> && git init && echo "Your generic description/message/details" >> README.md && git add README.md && git commit -m "My generic commit message and details" && gh repo create --public <my-generic-name> --source=. --description "My generic Description" --remote=upstream --push