Token authentication issues #23910
-
Dear all, I’ve created a new token. Then if I try the example:
I get
is not supported I’m stuck over here, anyone can help me please? Thanks, Damian |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Hey @damianoncloud and welcome! That error message doesn’t look like it’s per se related to your token. Have you tried typing out the repository name manually to avoid situations like this:
Git fatal: protocol 'https' is not supported
git, git-bash
answered by |
Beta Was this translation helpful? Give feedback.
-
Hi mpboom, I’m cloning a private repository and this is the issue at the moment I guess. WHAT I WOULD LIKE TO DO |
Beta Was this translation helpful? Give feedback.
-
I guess I have to create a personal access token, isn’t it? |
Beta Was this translation helpful? Give feedback.
-
The The second error message says exactly what you need to do. It has nothing to do with authentication, you need to set your author information before making/pushing commits. That information is stored in each commit. |
Beta Was this translation helpful? Give feedback.
-
airtower-luna:
Dear airtower-luna, Thank you so much |
Beta Was this translation helpful? Give feedback.
-
damianoncloud:
The value is invalid. I can’t say exactly what is wrong without seeing the URL, but the error message tells me Git thinks it’s supposed to use an SSH connection to the host
damianoncloud:
When you set up Git on a new computer or user account, you need to tell it who you are, see Git - First-Time Git Setup. That’s where the second error message comes from. If you already made commits there anyway you may need to fix the author information there. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your help. I’ve managed to create a new SSH key and now I can push to Github. |
Beta Was this translation helpful? Give feedback.
The value is invalid. I can’t say exactly what is wrong without seeing the URL, but the error message tells me Git thinks it’s supposed to use an SSH connection to the host
https:
. Using SSH is a good choice, buthttps:
isn’t even a valid hostname, let alone one for GitHub. The easiest thing to do is to find the correct URL from your repository page (the green “Code” button). Once you have that, you can set the URL like this:When you set up Git on a new computer or user account, you need to tell it wh…