简体   繁体   中英

prevent entry in Password KeyChain

While performing any operation using Git on my MAC, I see an entry in Password KeyChain .

Problem is, I am working with AWS CodeCommit and it does not like entry in Password Keychain so I have to manually go and delete git-codecommit.us-east-1.amazonaws.com entry from password keychain .

Any operation using git adds the entry again and I have to delete that again.

Is there way to prevent git from adding the entry in password keychain ?

This is how credentials section of my .gitconfig file looks like:

[credential]
    helper = !aws --profile my-awesome-aws-profile codecommit credential-helper $@
    UseHttpPath = true

在您的系统中找到任何“ gitconfig”文件(我有几个文件),然后从其中删除“ osxkeychain”行。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM