Enter your Id and new password and it should save and move on. But do the same git fetch/pull command second time, and it should prompt a window asking for credential (username/password). I’m not sure what’s going on or why this has worked on all of my other computers in the past. A simple git fetch/pull command will throw a authentication failed message. Other relevant information: the authentication is done with a personal access token and says “authentication ok” when I try to edit the account that I’m using. Then if I try to add an account, it says the account already exists. Interestingly, when I click that link with the text mentioned above, it takes me to a list of remotes and doesn’t show the one(s) I’ve created. Select one of the GitLab hosts (I'm using GitLab Enterprise) and provide a URL if required Enter username and password Select the HTTPS protocol (per the comments in the. I also get a note at the top which says “cloning is easier if you set up a remote account”, but I do have a remote account. Cannot add GitLab account due to authentication failure (Sourcetree 4.0 on Mac) In Sourcetree go to Remote > Accounts. I’m trying to clone a repository using http, and I’m getting the following errors using SourceTree 3.4.7:Ĭommand: git -c diff.mnemonicprefix=false -c core.quotepath=false -no-optional-locks ls-remote /įatal: Authentication failed for ‘ //’ I use HTTPS and a Personal Access Token to authenticate, and according to Tools -> Options -> Authentication -> my gitlab account -> Edit, authentication is OK. I’ve been using git for a while with my team but still feel like an absolute begginner in it. Hi, I have trouble pushing to my Gitlab repo.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |