PyCharm exposed password via Git

I installed Git and started using it without creating a config file.  I noticed that PyCharm supplied my network password in lieu of the email address for both the Author and Committer fields.  

Adding a config file solved that problem.  When identifying the user and email, it picks up on that instead.  

Now, if anyone can tell me how to edit a Git commit object, I would appreciate the info.

This happened again when starting another project.  It seems that the config file should be created automatically.   Defaulting to a password as contact information doesn't make sense.
2 comments
Comment actions Permalink
Please take a look at http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup about configuring Git for the first time.

You may edit a commit that was not pushed yet: http://git-scm.com/book/en/Git-Tools-Rewriting-History

Btw, the whole book is very good and worth reading.
0
Comment actions Permalink
The problem isn't with Git.  Git works fine, and it works correctly with other tools.
0

Please sign in to leave a comment.