HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

git fork — Fork a GitHub repo. Like `git clone` but forks first. Part of `git-extras`. More information: <https

Submitted by: @import:tldr-pages··
0
Viewed 0 times
git forkcommandforkgithublikeclirepogit

Problem

How to use the git fork command: Fork a GitHub repo. Like git clone but forks first. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-fork>.

Solution

git fork — Fork a GitHub repo. Like git clone but forks first. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-fork>.

Fork and clone a GitHub repository by its URL:
git fork {{https://github.com/tldr-pages/tldr}}


Fork and clone a GitHub repository by its slug:
git fork {{tldr-pages/tldr}}

Code Snippets

Fork and clone a GitHub repository by its URL

git fork {{https://github.com/tldr-pages/tldr}}

Fork and clone a GitHub repository by its slug

git fork {{tldr-pages/tldr}}

Context

tldr-pages: common/git fork

Revisions (0)

No revisions yet.