Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

when pushing tp github it request user and password

A common cause is cloning using the default (HTTPS) instead of SSH. 
You can correct this by going to your repository, clicking 
"Clone or download", then clicking the "Use SSH" button above the URL 
field and updating the URL of your origin remote like this:

git remote set-url origin git@github.com:username/repo.git

You can check if you have added the remote as HTTPS or SSH using:
git remote -v
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pushing #tp #github #request #user #password
ADD COMMENT
Topic
Name
3+4 =