snippetbashTip
hub fork — Fork a GitHub repo. Like `git fork` from `git-extras`. More information: <https://hub.github.com/hub
Viewed 0 times
commandforkgithublikeclirepohub forkgit
Problem
How to use the
hub fork command: Fork a GitHub repo. Like git fork from git-extras. More information: <https://hub.github.com/hub-fork.1.html>.Solution
hub fork — Fork a GitHub repo. Like git fork from git-extras. More information: <https://hub.github.com/hub-fork.1.html>.Fork a GitHub repository by its slug:
hub fork {{tldr-pages/tldr}}Fork a GitHub repository by its URL:
hub fork {{https://github.com/tldr-pages/tldr}}Fork current GitHub repository, set remote name to origin:
hub fork --remote-name {{origin}}Code Snippets
Fork a GitHub repository by its slug
hub fork {{tldr-pages/tldr}}Fork a GitHub repository by its URL
hub fork {{https://github.com/tldr-pages/tldr}}Fork current GitHub repository, set remote name to origin
hub fork --remote-name {{origin}}Context
tldr-pages: common/hub fork
Revisions (0)
No revisions yet.