本文发布于Cylon的收藏册,转载请著名原文链接~


Windows git “warning: LF will be replaced by CRLF” [1]

git config --global core.autocrlf false

Disable Credential Manager

git config --global credential.modalprompt false

git credential-manager remove -force

git credential-manager uninstall --force  

Multi account management [2]

step1: clean globle setting

git config --global --unset user.name
git config --global --unset user.email

step2: change config file only ssh

Do not Pop-ups authtication [3]

This question is the git shell prompt input user and password in an openssh popup on windows plateform

git config --global core.askPass ""

Reference

[1] Windows git “warning: LF will be replaced by CRLF”, is that warning tail backward?

[2] window下git多账户管理

[3] Git shell prompts for password in an OpenSSH popup window

本文发布于Cylon的收藏册,转载请著名原文链接~

链接:https://www.oomkill.com/2023/01/awesome-git-configration-in-windows/

版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」 许可协议进行许可。