fatal: Authentication failed for 'https://emgs@bitbucket/emgstars/stars.git/'

Posted . Visible to the public.

Description

When using TortoiseGit to push a commit, there is an error:

git did not exit cleanly (exit code 128)

Using the console to push:

git push -u bitstars masters

and after entering the password, there is an error:

fatal: Authentication failed for 'https://emgs@bitbucket/emgstars/stars.git/'

Resolution

In the dialog of TortoiseGit for push, enter in Arbitrary URL:

https://<bitbucket username>:<bitbucket password>@bitbucket.org/emgsstars/stars.git

and then push.

kiatng
Posted by kiatng to Git (2014-05-05 03:14)