Described as "a command line tool that wraps git in order to extend it with extra features and commands that make working with GitHub easier."
With hub installed, you can speed up the process of creating a new repo with the hub create
command.
You can install hub
with your favourite package manager.
Additionally you can clone a new repo with just the name (no need for the https://GitHub...) using for example hub clone github/hub
It mirrors creating a repo on the GitHub website, but also saves having to git clone
😀
1link$function gitnewrepo() {mkdir $1 && cd $1 && git init && hub create && touch README.md && echo "# " $1 >> README.md && git add . && git commit -m "init" && git push -u origin HEAD;}
Home Backstory Why Git? Setting Up GitHub GitHub CLI Your GitHub Profile GitHub Pages Creating A New Repo Cloning A Repository Your First Commit Ignoring Files In Git Stashing Your Changes Branching With Git Merging Git Branches Rebasing Vs Merging Git Workflows Fork And Pull Flow Your First Pull Request Automated Security Alerts Seeing The Differences Removing/Deleting Files Reverting Your Commits Configuring your Git Commit Templates Creating Shortcuts Dotfile Management Sponsoring Open Source Handy Commands Thank You