Re: [credential.helper] unexpectedly save credential to multiple credential files

2016-11-11 Thread Qi Nark
On Fri, Nov 11, 2016 at 4:36 PM, Jeff King wrote: > On Fri, Nov 11, 2016 at 04:10:55PM +0800, Qi Nark wrote: > >> 1. git config --global credential.helper store >> 2. cd to a local repository directory, git config credential.helper >> store --file ./my_cred >> 3.

[credential.helper] unexpectedly save credential to multiple credential files

2016-11-11 Thread Qi Nark
1. git config --global credential.helper store 2. cd to a local repository directory, git config credential.helper store --file ./my_cred 3. execute some git command which need credential like git ls-remote 4. input my username & password, command done. As the result, **BOTH** the ./my_cred and ~/