zoukankan      html  css  js  c++  java
  • 取消Git每次拉取、提交推送都要输入密码

    原因:在初始化配置Git用户信息时,设置了用户密码

    解决方式:重置用户密码,并设置为空

    $ ssh-keygen -p

    Enter file in which the key is (/c/Users/xxx/.ssh/id_rsa):  (直接Enter)
    Enter old passphrase:(输入旧密码)
    Key has comment 'xxx@DESKTOP-CNLBIPC'
    Enter new passphrase (empty for no passphrase):(直接Enter)
    Enter same passphrase again:(直接Enter)
    Your identification has been saved with the new passphrase.

    *********************************************************************************************************

    百度了很多都是这个命令

      $ git config --global credential.helper store

    然后,下次再输入一次 账号密码 就可以了

    但是在我电脑上就是不管用o(╥﹏╥)o

     

  • 相关阅读:
    iBatis,第二次亲密接触
    微斯人,吾谁与归
    一个月了
    生命在于运动
    眼皮跳了好几天
    往返
    中病毒,学习批处理

    爱如潮水
    今天夏至
  • 原文地址:https://www.cnblogs.com/uakora/p/12388481.html
Copyright © 2011-2022 走看看