I am using Visual Studio 2015 with GIT Hub extension. I created an account on GIT hub using my personal email (GITemail@somedomain.com). When I see the push records from Visual Studio, it is using my other email (MyMailAccount@anotherdoamin.com) which I use for Office products. This account has nothing to do with GIT or GITHUB or VS or anything else which could be related to this action. There are no issues with the push itself but I am surprised that GIT is using a completely unrelated account to push code.
Is there a way to ensure that GIT does not use any other account of mine to do any of its actions?
Update:
- I created account on GIT hub website using mygitemail@somedomain.com
- I opened VS 2015 (not signed in) and downloaded the extension for GIT HUB
- I used Team -> Manage connections to connect to source control.
- Connect to GIT HUB using same username and password as I did on GIT HUB website.
- Created a new solution, committed and pushed it.
- Push was done using name and email same as the one I use in outlook which is myoutlookemail@anotherdomain.com. And has nothing to do with GIT
- In visual studio's team explorer, I see the name I use in outlook and on mouse hover I see the email I set up in outlook.
- In GIT Hub's web dashboard, I see under commit history the name I use in outlook and nothing else. No collaborators, nothing. This name was not explicitly made known to GIT HUB.