Skip to content

Instantly share code, notes, and snippets.

@deepakpk009
Last active May 24, 2018 13:26
Show Gist options
  • Save deepakpk009/56ecb5c73f0b5e40ee82005a1cbae8b8 to your computer and use it in GitHub Desktop.
Save deepakpk009/56ecb5c73f0b5e40ee82005a1cbae8b8 to your computer and use it in GitHub Desktop.
Git push requires username and password
Git push requires username and password always:
OR Git pull failed with repository not found message:
git remote set-url origin https://username:[email protected]/repo.git
Now if you are getting the below error while trying to push:
"Error gnutls_handshake() failed: Handshake failed"
then check for the branch permission. no need to create new ssh.
if the error persists with the above set-url check if there is any special chars in the username:password
if so then you need to URL encode them. use the below site to encode:
https://www.url-encode-decode.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment