CopyPastor

Detecting plagiarism made easy.

Score: 0.8193860650062561; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2022-01-20
by Anushka

Original Post

Original - Posted on 2014-01-09
by rc0r



            
Present in both answers; Present only in the new answer; Present only in the old answer;

If you enabled two-factor authentication in your GitHub account you won't be able to push via HTTPS using your accounts password. Instead you need to generate a personal access token. This can be done in the application settings of your GitHub account. Using this token as your password should allow you to push to your remote repository via HTTPS. Use your username as usual.
For creating personal access token.
https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
You may also need to update the origin for your repository if it is set to HTTPS. Do this to switch to SSH:

git remote -v git remote set-url origin git@github.com:USERNAME/REPONAME.git
> If you enabled two-factor authentication in your GitHub account you > won't be able to push via HTTPS using your accounts password. Instead > you need to generate a personal access token. This can be done in the > application settings of your GitHub account. Using this token as your > password should allow you to push to your remote repository via HTTPS. > Use your username as usual.
*[Creating a personal access token][1]*
You may also need to update the origin for your repository if it is set to HTTPS. Do this to switch to SSH:
git remote -v git remote set-url origin git@github.com:USERNAME/REPONAME.git
[1]: https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/







        
Present in both answers; Present only in the new answer; Present only in the old answer;