Home > Enterprise >  Why I am not able to push my project from local host to the github
Why I am not able to push my project from local host to the github

Time:01-05

I am just a new to the open source development program and I just learning some basic commands.I then came across this concept of shifting the from local system to github .For this I used the command

git remote add origin https://github.com/KalashJain591/kalash-project-git

after that to push the project I used this line of code in the git bash

git push origin master

Then the following error occured and I am not able to push my project from local host to github.

fatal: The request was aborted: Could not create SSL/TLS secure channel.
error: unable to read askpass response from 'C:/Program Files/Git/mingw32/bin/git-askpass.exe'

CodePudding user response:

GitHub doesn't support password access to git anymore. You have to generate a personal access token and use that instead. See Token authentication requirements for Git operations.

Alternatively, you can create an SSH key and use [email protected]:KalashJain591/kalash-project-git as the remote's URL.

CodePudding user response:

Do you have your public keys installed in github? This is for passwordless pushing code to github.

Login to github -> Settings -> SSH and GPG keys
  •  Tags:  
  • Related