Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SmartGit Hg "Authentication Failed"

Hi already used smartGit Hg a couple of months. I have already account in bitbucket which I used already couple months already also. When I created another account in bitbucket then cloned the current repository to the smartGit. When I tried to commit and pushed (ofcourse it will ask for password), it says "Authentication Failed". Please help...THanks in advance..

like image 724
Wylan Osorio Avatar asked Aug 02 '13 15:08

Wylan Osorio


People also ask

How do I add authentication to SmartGit?

Goto Edit menu -> Preferences -> Authentication and remove credentials for the repository that fails. Then next time you push SmartGit will ask you for both login and password.


1 Answers

This works for me. Go to Edit>Preferences>Hosting Providers. On your Hosting Providers(I use Bitbucket for example) select it, click delete and click add. Select hosting, click Generate API Token automatically opens browser and generates token then copy go back to your smartgit then paste the token and finally click add

like image 84
Aljohn Yamaro Avatar answered Oct 03 '22 00:10

Aljohn Yamaro