hub-init(1) | hub manual | hub-init(1) |
hub-init - Initialize a git repository and add a remote pointing to GitHub.
hub init -g
-g
USER is your GitHub username, while REPO is the name of the current working directory.
$ hub init -g > git init > git remote add origin git@github.com:USER/REPO.git
18 Jul 2021 | hub version 2.14.2 |