How can I automate setting the local Git username and email in IntelliJ IDEA and PhpStorm when using Git over HTTPS to match the remote credentials after authentication?
I've been testing Git with Gitea and OneDev and encountered a username discrepancy between the website's author and the IDE's local user, even though I've used the same remote credentials for authentication.
What's the standard practice for ensuring accurate commit and push authorship in larger organizations?
Additionally, I'd like to know how to configure Git in my IDE to automatically use the authenticated user's remote username and email to streamline this process.
We have two developers here, so it's not a critical issue, but I'm interested in an automated solution for future use. Your guidance is appreciated.