> I put my git password in .git/config

Please don’t do that. 

I notice that you’re using Github. You would be better served to create SSH 
keys, and assign the public keys to your different identities. Using 
~/.ssh/config configurations you could name the identities, and associate each 
SSH key with each identity. That provides you both the convenience and the 
security. 

To assign an SSH public key to a Github account go to Settings -> SSH keys. In 
the event that your private key is compromised or lost, it also provides the 
ability to disable the public key part (i.e. delete if).  


> On Aug 22, 2015, at 2:41 AM, scls <s.cel...@gmail.com> wrote:
> 
> Hello,
> 
> I put my git password in .git/confit
> 
> [remote "origin"]
>       url = https://user:passw...@github.com/username/project.git
>       fetch = +refs/heads/*:refs/remotes/origin/*
> 
> I'm aware that's not a great idea because of security 
> but that's very convenient when using several identities.
> 
> The problem of this is that most git command display password.
> 
> Maybe git should be improve to hide password in text console output by default
> 
> Kind regards
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to git-users+unsubscr...@googlegroups.com 
> <mailto:git-users+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to