Currently my friend and I are using sharing VM and are using git to keep track of changes. A problem occurs when he tries to commit since the VM is under my name. Since the VM is mine and the git repo has been established with my name, bitbucket (an online git repository) thinks im the user thats pushing the code them and registers it under my name although my friend is using his personal remote. So is there a way for both of us to share a database for development purposes without having to share a VM or is there a way to switch users in git instead? I need to find a way for my friends commits to be registered as his own for tracking purposes.
P.S. I think I need to make it clear that we are both currently using the same machine but even when he pushes code using his remote url, bitbucket registered the commit as my own.
the only reason he is still using my VM is the fact that we are noobs and dont know how to share a database while he works and commits from his own VM