I've spent now over 1 day trying to connect to GitHub using Netbeans 12.5. Initially, I tried to use username + password and that didn't work, so now I've installed Git for Windows and used it to make an SSH key which I copied to GitHub as per instructions. I then tested the SSH connection with Bash and it was successful, so I know the key is correct. However, Netbeans is still giving me the same error as it did when I tried to connect with a UserName and Password: 'Incorrect credentials for repository at github.com:antonio2654/test001.git'
Can someone show me the correct way to authenticate in Netbeans?
And then, if I'm being asked to, I enter the password, but that happened on my system for the very first time (as I presume git saved pwd to its internals). And then, I open cloned project with an IDE (any).
So, having said all that - can you try to clone it with git, without using NetBeans, as NetBeans really should just wrap those git commands in order to do something similar under the hood anyway. That way you'd potentially narrow the area where the problem is.
The command line tools work just fine. I was able to push to GitHub, and everything looked fine. I then made a small alteration to the source code, and attempted to publish (push) with the IDE, but it threw the same error. It seems the problem is with the remote tools in the IDE, as the tools for local operations work.
Yes, that's all I was able to find. Unfortunately it doesn't address the problem. I have done everything I can think of to make it work but Netbeans still can't connect to Remote using the GUI. I've given up now. I just use ordinary git commands for remote stuff.