Personally, I would use different email in the different environments and 
take advantage of that (at least gmail) strips trailing parts of the email

git config --global user.email foo+w...@gmail.com
git config --global user.email foo+wi...@gmail.com

To claim GitHub stats, I would associate the emails with my GitHub profile

On Sunday, December 5, 2021 at 4:53:08 AM UTC+1 skybu...@hotmail.com wrote:

> Hello,
>
> Right now I am working with git on two different machines:
> Windows 7 on real hardware.
> Windows 11 on a virtual machine.
>
> It would be cool if git could be made aware somehow on which machine the 
> commits were made ?
>
> Right now the windows 7 machine uses Skybuck Flying
> Right now the windows 11 machine uses my e-mail addres ???
>
> So that is my second less important question why is windows 11 using my 
> e-mail and not my github account ? Hmmm... now github stats are kinda 
> ruined a bit...
>
> Is there still a way to correct that ?
>
> Would be cool if both can be done.
>
> Bye for now,
>   Skybuck.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/1049131d-691a-4edc-b5e4-e85cc3969f8fn%40googlegroups.com.

Reply via email to