This is what we use at work: git config --global credential.helper 'cache --timeout 36000' won't ask for your poassword for 10 hours.
You can read more about it here: http://www.kernel.org/pub/software/scm/git/docs/git-credential-cache.html If it's not working on windows you can use: git config --global credential.helper 'store --store=<path>' The file is not encrypted and you must set it's permissions to prevent other users on the system from reading it. The only advantage is when you show a git config -l to a colleague it won't show up. On Friday, January 18, 2013 6:37:20 PM UTC+2, lei yang wrote: > > git config --global sendemail.smtppass xxxx this will display > password in .git config > > can we avoid this ? > > lei > --