Puis-je enregistrer mon mot de passe?

Enregistrer de manière temporaire les mots de passe

Lancer la commande suivante :

$ git config --global credential.helper 'cache --timeout=300'

Notes :

Référence : http://git-scm.com/docs/git-credential-cache

Enregistrer de manière permanente les mots de passe

Lancer la commande suivante :

$ git config --global credential.helper store

Notes :

Référence : http://git-scm.com/docs/git-credential-store

Solutions alternatives

Le client GitHub pour Windows et Mac offre un shell et permet de crypter le mot de passe.

Pour plus d'informations voir la section "Password caching" pour Windows et Mac.