配置了git config --global credential.helper store后,还是弹出输入密码框

这篇具有很好参考价值的文章主要介绍了配置了git config --global credential.helper store后,还是弹出输入密码框。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

使用http协议拉取代码时,每次pull/push都会弹出账号密码框,可以使用git的配置credential.helper来保存每次输入的账号密码到硬盘上,命令git config --global credential.helper store,store表示存到硬盘中,但是按照这样操作后git pull还是弹出密码框,通过git config --list发现此时的配置里有两个credential.helper的配置,应该有些第一个credential.helper=manager-core的影响
配置了git config --global credential.helper store后,还是弹出输入密码框,git
通过命令git config --show-origin --get-regexp credential.helper查找所有的配置
配置了git config --global credential.helper store后,还是弹出输入密码框,git
找到配置 credential.helper=manager-core的地方,打开文件修改为credential.helper=store,再次尝试就可以了
配置了git config --global credential.helper store后,还是弹出输入密码框,git文章来源地址https://www.toymoban.com/news/detail-744380.html

到了这里,关于配置了git config --global credential.helper store后,还是弹出输入密码框的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 解决打开Intellij Idea后,一直弹出Git Credential Manager Enter credential

    我并没有要pull或者push代码,只是打开了Intellij Idea,就一直弹出: 打开powerShell输入: git config --system --unset credential.helper ,就不再弹出了。 Windows安全中心 Git Credential Manager Enter credentials for ‘https://gitee.com/‘ git credential for windows 总是弹出的问题

    2024年02月16日
    浏览(38)
  • git config的范围参数:local、global和system

    1、–local:这个参数用于指定配置项的作用范围是当前 Git 仓库。配置项将保存在当前 Git 仓库的 .git/config 文件中。这意味着配置项仅对当前仓库有效,不会影响其他 Git 仓库或全局配置。示例用法: 2、–global:使用这个参数可以设置全局范围的 Git 配置。配置项将保存在你

    2024年04月09日
    浏览(28)
  • ​git pull 提示 hint: You can replace “git config“ with “git config --global“ to set a default​

    hint: You can replace \\\"git config\\\" with \\\"git config --global\\\" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. fatal: Need to specify how to reconcile divergent branches. 解决方法: 终端运行:git config p

    2024年02月04日
    浏览(39)
  • 关于Credential Helper Selector的问题

      最近在打开 Android Studio 的时候,弹出一个从未见过的窗口,如下:   网上说选择: no helper ,然后勾选 Always use this from now on ,我就这么照着做了,结果在 Android Studio 中使用 pull 和 push 按钮,总是无法拉取和推送代码。   在终端使用命令行的方式进行 git pull 和 git push 倒是

    2023年04月15日
    浏览(22)
  • 【Git】解决‘每次初始化一个新仓库时,都需要执行git config --global --add safe.directory命令‘

    这个命令是用来将一个安全目录添加到全局的 Git 配置中。但每次克隆一个仓库或者新建一个仓库,并且对该仓库进行操作时,都需要执行该命令,十分麻烦! 这是因为,Git 近期进行了版本升级,添加了新的目录安全限制。造成在进行git常规操作时无法发现.git文件。 方案一

    2024年04月08日
    浏览(47)
  • stable-diffusion 关于关于#git#的问题无法读取到的问题:git config --global --add safe. directory

    问题: git config --global --add safe. directory \\\'目录\\\'  错误问题 方法1:直接复制提示的命令 git config --global --add safe.directory E:/stable-diffusion-webui/repositories/BLIP 方法2:若是方法1复制以后还是继续同样问题报错,则来到C盘C:Users‘目录’ 去寻找.gitconfig的一个文件 然后来到stable-diff

    2024年02月12日
    浏览(30)
  • *** Please tell me who you are.Run git config --global user.email “you@example.com“ git confi

    大家好,我是爱你三千遍斯塔克,我们平常使用gitee的时候可能会遇到这样的问题,如何快速的找到解决问题的方法呢?这里有些资料可供大家参考,希望对大家有帮助: 作者身份未知 ***请告诉我你是谁。 跑 git-config--全局user.email“you@example.com“ git-config--全局用户名“Your

    2024年02月01日
    浏览(41)
  • 【Git错误】上传gitee:Please tell me who you are.Run git config --global user.email “you@example.com

    Author identity unknown *** Please tell me who you are. Run   git config --global user.email \\\"you@example.com\\\"   git config --global user.name \\\"Your Name\\\" to set your account\\\'s default identity. 作者身份未知 ***请告诉我你是谁。 跑 git-config--全局user.email“you@example.com“ git-config--全局用户名“Your name” 设置帐户的默认

    2024年02月05日
    浏览(40)
  • kinit: Failed to store credentials: Internal credentials cache error (filename: /tmp/krb5cc_1006)

    [INFO] 2022-12-29 16:24:26.021  - [taskAppId=TASK-678-305576-2357578]:[127] -  - workspace /data/DATA_DIR/share/dw_ia_portraitsearch     kinit -kt /data/DATA_DIR/share/keytab/hive.keytab hive@CDP.COM     kinit: Failed to store credentials: Internal credentials cache error (filename: /tmp/krb5cc_1006) while getting initial credentials 脚本在执行k

    2024年02月13日
    浏览(32)
  • git config --global core.autocrlf input (在检出代码时不自动转换行尾,在提交代码时自动将行尾转换为LF)CRLF will be replaced by LF

    我们一般希望远程仓库中的代码为LF,就用: git config --global core.autocrlf input 就ok了。 这是一个Git的配置命令,它的作用是告诉Git在检出代码时不要自动将行尾转换为CRLF(Windows风格的换行符),而是保留原来的LF(Unix风格的换行符)。 core.autocrlf input 的意思是告诉Git在检出代

    2024年02月09日
    浏览(36)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包