Authenticate with GitHub using a token

后端 未结 10 536
广开言路
广开言路 2020-11-30 17:09

I am trying to authenticate with GitHub using a personal access token. In the help files at github, it states to use the cURL method to authenticate (https://help.github.com

10条回答
  •  伪装坚强ぢ
    2020-11-30 17:22

    Normally I do like this

     git push https://$(git_token)@github.com/user_name/repo_name.git
    

    The git_token is reading from variable config in azure devops.

    You can read my full blog here

提交回复
热议问题