Re: Fwd: Can't override username of default credential context to have different username in custom context.

2015-04-27 Thread Jeff King
On Mon, Apr 27, 2015 at 09:19:31PM +0500, Vladislav Kostenko wrote: > Here is my scenario: > > 1. First I set default username > git config --global credential.username myUsername > > 2. Then I want to have different username for my other repository > git config --global > credential.https://myO

Re: Fwd: Can't override username of default credential context to have different username in custom context.

2015-04-27 Thread Jeff King
[+cc Kyle, who I forgot on the initial send. Oops!] On Tue, Apr 28, 2015 at 01:25:02AM -0400, Jeff King wrote: > On Mon, Apr 27, 2015 at 09:19:31PM +0500, Vladislav Kostenko wrote: > > > Here is my scenario: > > > > 1. First I set default username > > git config --global credential.username myU

Fwd: Can't override username of default credential context to have different username in custom context.

2015-04-27 Thread Vladislav Kostenko
Hi, Here is my scenario: 1. First I set default username git config --global credential.username myUsername 2. Then I want to have different username for my other repository git config --global credential.https://myOtherRepository.visualstudio.com.username myOtherUsername 3. When I try to pull