美文网首页
github用户名密码之谜

github用户名密码之谜

作者: Albin_iOS | 来源:发表于2019-11-07 09:58 被阅读0次

    github用户名密码之谜

    2018-10-11 11:37:47 tengxi_5290 阅读数 2525

    <article class="baidu_pl" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; box-sizing: inherit; outline: 0px; margin: 0px; padding: 16px 0px 0px; display: block; position: relative;">

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

    本文链接:https://blog.csdn.net/tengxi_5290/article/details/83009974

    github远程仓库,提交代码时候会提示你输入用户名和密码验明正身,像下图这样

    image

    去哪里找用户名和密码呢,git config --list

    image

    你会看见这一堆,当然不止这些,按enter会一条条的出现更多,这里能看见user.email,user.name,user.password

    注意!!!

    上一步希望你填的用户名是user.email的内容

    上一步希望你填的密码是github的token,不是你的github登录密码,也不是第二张截图的password值

    github的token获取方法在这里 =>

    image image image

    这样就会生成一个新token了,这就是第一张截图里要的密码,赶紧复制,刷新页面以后就看不见了。

    解决了。

    </article>

    相关文章

      网友评论

          本文标题:github用户名密码之谜

          本文链接:https://www.haomeiwen.com/subject/gwymbctx.html