DEV Community

Cover image for Securing git commits from tricking you on Windows

Securing git commits from tricking you on Windows

Ankur Sheel on September 10, 2018

Did you know that by default you can check in code as anyone in your git repository? All you need to do is run git config.username = {username} and...
Collapse
 
dance2die profile image
Sung M. Kim

Thanks Ankur.
I surely wasn't aware you could commit as someone else.

That was a huge eyeopener for me.

And moreover, 👍 for how to get around the issue on Windows (not Mac/Linux_ finally 😉)

Collapse
 
ankursheel profile image
Ankur Sheel

Hi Sung Kim,

Glad you found it helpful.
Yeah, I found that steps for Mac/Linux don't translate directly for Windows.