GitHub CLI 2 · Setup and repositories

Clone a repository

Clone with your preferred protocol.

gh repo clone owner/repo

Official GitHub CLI 2 documentation

More setup and repositories commands

All setup and repositories commands · GitHub CLI 2 cheatsheet

Was this page helpful?