BluePen BluePen
  • Jenkins
  • OS
  • 算法
随笔
分类
标签
归档
关于
留言板
GitHub (opens new window)

Alex

一个好人
  • Jenkins
  • OS
  • 算法
随笔
分类
标签
归档
关于
留言板
GitHub (opens new window)
  • 浅克隆
  • Git 子模块
  • Git FAQ
    • 解决 git status中文显示问题
    • 存储用户名密码
  • Git
Alex
2019-06-15
目录

Git FAQ

-> 解决 git status中文显示问题

git config --global core.quotepath false
1

-> 存储用户名密码

使用 http/https协议操作代码仓库会需要验证用户名密码,可以使用 git密钥管理工具永久存储。
输入完用户名密码操作后运行以下命令

git config --global credential.helper store
1

去掉 --global表示仅当前仓库有效

如果当前密码有更新,需要删除已存储密码

git config --global --unset user.password
1

-> 参考

  • git credential (opens new window)
编辑此页 (opens new window)
#FAQ
更新于: 2019-06-15 10:20
Git 子模块

← Git 子模块

Copyright © 2019-2022 | yxxy | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式