Reputation: 618
I am using Netbeans 12. I was using gihub with password, but now github ask me token. How can i set the token in existing project on Apache Netbeans 12.0.
Upvotes: 4
Views: 1459
Reputation: 1422
Open your Netbeans project.
Open an internet browser, log in to your GitHub account and create a "Personal access token" (see GitHub doc, super easy), copy it.
Then in Netbeans select your project and use the Git menu to push or pull from the GitHub repo: Netbeans will prompt you for a user and a password. Use your GitHub login name and the Personal access token as the password.
Netbeans will save it on your computer, it won't ask it anymore, unless access rights of your GitHub account change.
Upvotes: 5