how's going?
I have one github account and 3 azure devops accounts. With my personal github profile, I'm using my personal GPG key for auth my commits and tags and this config was made global, but for those azure devops accounts, I don't need to auth commits/tags with GPG. I've tried to change local git config for each project, but It failed and still using GPG key at those azure accounts.
By the way, I'm using Visual Studio GUI to commit at those Azure DevOps repos.
It's there anyway to still use GPG for global(github personal account) and change my local azure repos git config to not use gpg auth?
I've tried those solutions, but without success.
- Command line and git config based on this other stackoverflow post project overrides global and global overrides system
- I've tried those:
git config commit.gpgsign false
git config tag.gpgsign false
But It still using global config.
- And I have tried to change .git/config file for each azure devops project and add those lines:
[commit]
gpgsign = false
[tag]
gpgsign = false
Thanks for your time! Happy coding ppl!
CodePudding user response:
it's definitely weird that just setting commit.gpgsign didn't do the trick. You should try setting push.gpgsign to false, or try directly passing --no-gpg-sign when committing and the equivalent --no-signed when pushing.
If the later doesn't work then there might just be something wrong with your git installation, at that point a reinstallation might be your best bet.