2FA give problems when pushing to GitHub

前端 未结 5 1633
傲寒
傲寒 2020-12-15 06:10

I\'ve clone a project on GitHub on my Raspberry Pi, create a new branch and push everything to the repository. For this I needed next commands:

git clone htt         


        
5条回答
  •  离开以前
    2020-12-15 06:50

    You have to generate an access token and use the access token instead the password. For example:

    $ git clone https://github.com/username/repo.git
    Username: your_username
    Password: your_token
    

    Doc: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line

提交回复
热议问题