How do I edit past git commits to remove my password from the commit logs?
问题 My problem: cygwin git doesn't seem to correctly prompt for credentials when using https:// URLs, so I used username and password in the URL. Unfortunately when I did a "get pull" it auto-commited a message with the full URL including password. I didn't notice this until after I had pushed the changes. How do I edit old commit messages to eradicate the password in the URL? My shared git repo is on my own server. I can do surgery on the repo if necessary. Instructions on how to change my