0

I don't speak English very well, but I will try to explain my problem in the best way.

I have two accounts for different gitlab servers, one for my work and another personal, for example:

User: personal-user → Email: personal@gmail.com → Server: gitlab.com

User: work-user → Email: user@work.com → Server: work.gitlab.com

But I only have one project, when I commit, gitbash asks me for an user and an email, but they are different for each server.

If I make the commit with a specific user and when I review the commits on the gitlab server it shows me that the user who made the commit is missing.

please check the next image:

enter image description here

How could I manage the project and upload it to the different servers in the best way?

The idea is that when I do a push gitlab can register the commits for each specific user that corresponds to each server

edocollado
  • 471
  • 6
  • 7

1 Answers1

2

I didn't get completely some aspects of your question.
But some time ago I faced similar problem - managing multiple GitHub accounts.
I've written this small article describing how to organize them on your machine: https://boiko.ru/posts/multiple-github-accounts/

Ivan
  • 9,089
  • 4
  • 61
  • 74