GIT推后的密码是什么?
键入git push后,我被要求输入密码,但我没有显示,但仍继续按我按ENTER,但给了我无效的密码。请密码应该是我们的个人令牌访问
after I typed git push I was asked to input password, which i did but it wasn't showing but still continued the i pressed enter but gave me invalid password. please is the password supposed to be our personal token access
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我很难使用HTTPS协议来验证git。
这就是为什么我正在使用SSH方法,这使一切变得更加容易。
类型
git Remote -V
我敢打赌,您将使用HTTPS。
无论如何,
配置git以使用ssh:
evar $(ssh -agent)
ssh -keygen -t rsa -b b 4096 -c“
” (您可以按几次“输入”)
复制键
cat〜/.ssh/id_rsa.pub
转到github,单击“设置” => “ SSH和GPG密钥” => “新密钥”
给它一个名字并经过您的钥匙。
I have trouble authenticate to GIT using the https protocol.
That's why i am using the SSH method which makes everything much easier.
type
git remote -v
I bet you will use https.
anyway,
Configuring the git to use SSH :
eval $(ssh-agent)
ssh-keygen -t rsa -b 4096 -C "[email protected]"
It will ask you to enter a passphrase. (you can press 'Enter' few times)
copy the key
cat ~/.ssh/id_rsa.pub
Go to github, Click "Settings" => "SSH and GPG Keys" => "New Key"
Give it a name and past you key.