Netbeans 8.2 Can't Verify Git Credentials?

混江龙づ霸主 提交于 2021-02-19 05:24:23

问题


I have a Java project that I'm making which has had several commits on github. I recently changed OS versions on Kubuntu from 17.10 -> 18.04, and have installed Netbeans 8.2 with Java Version 1.8.0_171 to avoid Java 9+ compatibility issues.

I can't clone the project from git, every time I try to import it using the built in Git "Team" support, my cridentials bounce back. This is mysterious since I use KeePassX to manage all my ID information and directly copy-paste it. I've verified that this is the correct sign in information by signing out on github.com and signing back in only using information in KeePassX, which is successful. I also directly copy the git address into the HTTPS field in Netbeans.

Am I doing something wrong? Is there a workaround for this? Is this a well-known error?

Screencap of the error

Edit 0: I've made an exact (And quickly made) video of the process and error, you can find it here: https://www.youtube.com/watch?v=W48QD1Tr6GU&feature=youtu.be


回答1:


The exact error is

Incorrect credentials for repository at github.com:SarahSzabo/StellarOPUSConverter.git

That does not look like an https URL (it could be an SSH one, with an ~/.ssh/config file)

Make sure to copy the https URL:

https://github.com/SarahSzabo/StellarOPUSConverter



回答2:


This might be quiet old but hope it helps. Had the same issue

In NetBeans you can uncheck " Persist Remote" beside remote name.



来源:https://stackoverflow.com/questions/50790499/netbeans-8-2-cant-verify-git-credentials

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!