Search code examples
gitgit-push

git-credential-store using git-credential-cache--daemon


I am using git-credential-store with my repository. However I noticed when I run git push it launches git-credential-cache--daemon and will not close it until I close the terminal.

  1. If I am using git-credential-store and my credentials are saved in ~/.git-credentials, why is this program needed?

  2. Even if this program is needed, why doesn't it close after git push completes?

$ git config --global credential.helper
store

Solution

  • The daemon can be killed like this

    kill -7 $(ps | awk /daemon/,NF=1)
    

    However I have noticed with my current version this problem has been resolved.

    $ git --version
    git version 2.0.4