Skip to main content

Create token to manage private repo with cli

Go to this url:

https://github.com/settings/tokens?type=beta

create a new token

Select Only select repositories

Repository permission:

  1. contents => read & write
  2. Commit statues => read & write

Save token and copy it, then git clone with this command

git clone https://[email protected]/<your account or organization>/<repo>.git