Vous devez utiliser un jeton d'accès personnel avec 'read_repository'
[remote "origin"]
url = https://oauth2:[email protected]/yourself/yourproject.git
Long Lemur
[remote "origin"]
url = https://oauth2:[email protected]/yourself/yourproject.git
# How to set up Github Personal Access Token (from Terminal)
# First you need to set the remote URL of your repo
git remote add origin remote_url_here
# then you update the remote URL with your token
git remote set-url origin https://put_username_here:[email protected]/put_username_here/repo-name.git
# After pushing the first time, do this
# Enable caching for 7200 seconds (2 hours)
git config --global credential.helper 'cache --timeout 7200'
# go to github > settings > developer settings > personal access tokens
# create token
git clone https://<ACCESS_TOKEN>@github.com/<USERNAME>/<REPO>.git