Re: feature needed imap-send pass as cli switch
On Tue, Jan 27, 2009 at 11:18 PM, Caleb Cushing <xenoterracide@gmail.com> wrote:
> I tend to have my .gitconfig shared on github with a bunch of other
> config files and this has been ok, until submitting a patch here I
> needed to use imap-send, and the only way I see in the documentation
Are you sending patches through gmail? If so, check out:
http://git.or.cz/gitwiki/GitTips#head-a015948617d9becbdc9836776f96ad244ba87cb8
You can add .msmtprc to your .gitignore and keep it chmod 600.
Sure, it's cheating -- instead of keeping the data in .gitconfig we're now keeping it in .mstmprc, but maybe it's a suitable workaround?
Show 17 quoted lines
> is to put my email password in .gitconfig, obviously I can't push this
> up to my remote as I usually do. I'd like to see an option to pass the
> password on the cli, either as an input prompt or as just an argument
> to an option, or both. I think storing it in the config file is a
> security risk, storing passwords in plaintext is just bad practice.
>
> if it's already possible could someone share how with me? and perhaps
> patch the documentation to include how.
> --
> Caleb Cushing
>
> http://xenoterracide.blogspot.com
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
David