hub-remote(1)
β¨ NAME β¨
okay so hub-remote(1) β straight outta the hub manual β is literally here to add a git remote for a GitHub repository. that's the whole vibe: git remote, GitHub repo, slay π
.
π οΈ SYNOPSIS π οΈ
the two moods, bestie:
hub remote add [-p] [OPTIONS] USER[/REPOSITORY]
hub remote set-url [-p] [OPTIONS] NAME USER[/REPOSITORY]
πΈ OPTIONS πΈ
-pβ deprecated, bestie β use thessh:protocol instead ofgit:for the remote URL. the writeablessh:protocol is automatically used for own repos, GitHub Enterprise remotes, and private or pushable repositories. so yeah, it's giving "still here, but not the main character" π.USER[/REPOSITORY]β ifUSERisorigin, that value will be substituted for your GitHub username.REPOSITORYdefaults to the name of the current working directory. periodt π.
π EXAMPLES π
look at these little icons doing their thing:
$ hub remote add jingweno
> git remote add jingweno git://github.com/jingweno/REPO.git
$ hub remote add origin
> git remote add origin git@github.com:USER/REPO.git
no cap, that second one is especially iconic π.
π SEE ALSO π
okay that's the whole page, bestie π«Ά β brought to you by hub version 2.14.2, dated 07 Jan 2024 πβ¨.
π¦ where this page comes from
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms