1

After pushing some changes to a remote repository using magit, Emacs shows this process running:

git-credenti... 72390   run      *git-creden... /dev/pts/1   git credential-cache--daemon /home/pedro/.git-credential-cache/socket

It seems to be connected to the fact that I typed my username and password before doing the push.

Why does this happen?

How to fix it? Killing the buffer?

After using C-x C-b (list buffer), I was not able to press D to execute the deletion with X later. It was necessary to kill it with C-x k.

1 Answer 1

2

This process provides the credential cache, so that you don't have to enter your password each time you pull, push or other otherwise access that remote.

If you don't need the cache anymore, you can kill the process in the usual way, for example from the list-processes buffer, or with the kill-process function. Magit doesn't currently offer a command to directly kill the credential cache daemon process.

If you don't want credentials to be cached, you can disable this altogether by setting magit-credential-cache-daemon-socket (with setq or via Customize).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.