Re: git-config: replaces ~/.gitconfig symlink with real file
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2016-06-15 22:43:22
"Bradford Smith" [off-list ref] wrote:
However, when I tried running 'git-config --global color.diff auto' today, it removed my symlink and replaced it with a real file. This left me briefly a bit confused when the changes I had made didn't show up in ~/etc/gitconfig, but git-config reported them anyway.
Another problem I have with 'git config --global' is that it changes the access permission bits of ~/.gitconfig. Since I use the same file to store global StGIT configuration like SMTP username and password, I'd like to make its access 0600 but it always goes back to 0644 after 'git config --global'. Maybe fixing the symlink case would solve my problem as well. Thanks. -- Catalin