Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

To clone with the personal token,

Code Block
$ git clone https://${TOKEN}:x-oauth-basic@github.com/MyUser/MyRepo.git

And below is an exmple shell script based in zsh

Code Block
#!/bin/zsh
git config --global user.name "Chun Kang"
git config --global user.email "ck@ckii.com"
GITHUB_USER_TOKEN=your_user_token
git clone https://$GITHUB_USER_TOKEN:x-oauth-basic@github.com/ck/ck.io.git

...