Github - Clone a Github repository using Github CLI

ZhangZhihui's Blog / 2023-08-01 / 原文

Step 1: Install Github CLI following the instructions provided on page https://github.com/cli/cli#installation .

Step 2: Run 'gh auth login' to login.

Step 3: Run 'h repo clone https://github.com/XXXX/repo.git' to clone a repository.