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?
- 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.Warren P– Warren P2016-09-26 15:24:14 +00:00Commented 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.Richard– Richard2016-09-26 19:34:31 +00:00Commented 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.Warren P– Warren P2016-09-26 20:54:03 +00:00Commented Sep 26, 2016 at 20:54
- which remote protocol do you use, is it http(s)?max630– max6302016-09-27 17:51:44 +00:00Commented Sep 27, 2016 at 17:51
- check answers to this question: stackoverflow.com/q/14000173/2303202max630– max6302016-09-27 18:01:46 +00:00Commented Sep 27, 2016 at 18:01
Add a comment |
1 Answer
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]"