Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credential #39

Open
rogerxu opened this issue Mar 29, 2019 · 2 comments
Open

Credential #39

rogerxu opened this issue Mar 29, 2019 · 2 comments

Comments

@rogerxu
Copy link
Owner

rogerxu commented Mar 29, 2019

必知必会之Git Windows credential.helper - 知乎 (zhihu.com)

@rogerxu
Copy link
Owner Author

rogerxu commented Mar 29, 2019

Windows

Windows

介紹好用工具:Git Credential Manager for Windows (記憶 Git 常用密碼) | The Will Will Web

git config --global credential.helper manager

WSL

Edward Thomson: Git Credential Manager with Windows Subsystem for Linux

git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"

@rogerxu
Copy link
Owner Author

rogerxu commented Dec 14, 2021

Credential Helper

Storing Git Credentials with Git Credential Helper | by Seralahthan | Medium

$ git config credential.helper manager
  • cache
    • 会将凭证存放在内存中一段时间。 密码永远不会被存储在磁盘中,并且在15分钟后从内存中清除。
  • store
    • 会将凭证用明文的形式存放在磁盘中,并且永不过期。
  • osxkeychain
    • Mac, 将凭证缓存到你系统用户的钥匙串中。 这种方式将凭证存放在磁盘中,并且永不过期,但是是被加密的。
  • wincred
    • Windows Credential Store,显示真实用户名
  • manager
    • Windows, “Git Credential Manager for Windows” 的辅助工具,使用 Windows Credential Store 来控制敏感信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant