SmartGit Hg “Authentication Failed”

后端 未结 8 1891
一整个雨季
一整个雨季 2021-02-13 03:42

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

相关标签:
8条回答
  • 2021-02-13 04:05

    SmartGit probably remember a wrong account credentials to authenticate you on BitBucket. 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.

    0 讨论(0)
  • 2021-02-13 04:05

    None of the answers given ended up resolving my issue on SmartGit.

    I went in Edit ->Preferences -> Authentication but the list of known credentials was empty so was the list of Hosting Providers.

    The reason was that SmartGit was storing my credential in Windows Credential Manager.

    To resolve the issue, I went to Control Panel -> Credential Manager -> windows Credentials, select the specific credential you wish to update and choose to edit it and then update your credentials

    0 讨论(0)
  • 2021-02-13 04:06

    An easier approach to re-installing, but you will need to set it up again.

    Delete: c:\Users\{YOUR_USER_NAME}\AppData\Roaming\syntevo

    Once you re-launch SmartGit, it may noticed an issue with the credential helper. If so, then force it to use SmartGit by adding this to your .gitconfig

    [credential]
      helper=
    

    That file is located: c:\Users\{YOUR_USER_NAME}\.gitconfig

    Re-launch SmartGit, do a PULL and it will prompt you to set a Master Password. Once complete, it will then ask you for the project credentials.

    0 讨论(0)
  • 2021-02-13 04:06

    Un My case it was cause miss-configuration with SSH client.

    SmartGit > Preferences > Authentication

    Changed: "Use Smartgit as SSH Client" to "Use system SSH Client"

    0 讨论(0)
  • 2021-02-13 04:07

    In my case, myaccount@ at the beginning of the repository URL was missing.

    After selecting and opening the repository on the left pane, I had to click on the Remote menu, then Properties....

    In the field URL or path, I had something like https://github.com/org/repo.git, and I modified it to https://myaccount@github.com/org/repo.git. It asked my password and... bingo.

    0 讨论(0)
  • 2021-02-13 04:12

    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

    0 讨论(0)
提交回复
热议问题