0

I checked out a project from gitlab using username A.(with tortoisegit) Now I'd like to check out an other project from Gitlab with user B. Unfortunately tortoisegit doesn`t ask for my crendentials and just tries to check out with user A. How can I logout user a for my local tortoisegit client?

5
  • This is a highly irregular scenario. You would be better off to give ONE of your userids access to both projects from the Gitlab Admin page, and just stay logged in as that one user. Commented Sep 26, 2016 at 15:24
  • Ok, then I'd like to give user B the permission. But tortoisegit still tries to login with user A. Commented Sep 26, 2016 at 19:34
  • You only have one windows login at one time. That windows login should have one global GIt configured account. You are already in the failure state. Commented Sep 26, 2016 at 20:54
  • which remote protocol do you use, is it http(s)? Commented Sep 27, 2016 at 17:51
  • check answers to this question: stackoverflow.com/q/14000173/2303202 Commented Sep 27, 2016 at 18:01

1 Answer 1

0

you have to do it manually refer https://codeyarns.com/2012/12/04/how-to-set-user-name-and-email-in-tortoisegit/ or use command line git config --user.email "[email protected]"

Sign up to request clarification or add additional context in comments.

3 Comments

This is possible, but not a great idea.
I tried changing the username but it still doesn't work
this is authoring information to be written to commit, it's unrelated to remote authentication

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.