FahamLah

Commands

gh repo fork

gh repo fork [<owner/repo>] [--clone]

Risk: Safe

What it does

Makes your own copy (a fork) of a repo in your GitHub account.

When to use it

To change a project you can't push to.

Example

$ gh repo fork aina-codes/diary --clone

Fork the repo, then copy your fork to your computer.