1
votes

I'm using NetBeans 8.2 on Windows 10 trying to clone a repo from BitBucket. Here are the steps I've done:

  1. Go to Team > Git > Clone...
  2. Copied the project URL to the Repository URL field: https://bitbucket.org/thiagomp/linkcheckr/src/master/ I've also tried https://bitbucket.org/thiagomp/linkcheckr.git
  3. Created an App Password on BitBucket
  4. Inserted the User and Password according to the password generated by BitBucket on step #3
  5. Click on Next button to get the "Incorrect credentials for the repository at https://bitbucket.org/thiagomp/linkcheckr/src/master/"

Here is a screenshot of the Netbeans configuration screenshot for the NetBeans configuration

Would you please help me with the correct way to input the BitBucket credentials on NetBeans 8.2? Thanks in advance for your help!

2

2 Answers

0
votes

Please use the following url:

https://[email protected]/repo-address.git

In your case, it would be:

https://[email protected]/thiagomp/linkcheckr.git

You would then need to enter the password (make sure it is the correct one).

0
votes

First, I confirm the proper URL is https://bitbucket.org/thiagomp/linkcheckr.git

Second, check if you have activated 2FA on BitBucket for your account.

Third, if you can try and switch to an SSH URL, to see if you can access the repo that way.

[email protected]:thiagomp/linkcheckr.git

Note the error is:

INFO [org.netbeans.modules.git]: https://[email protected]/thiagomp/linkcheckr/src/master/: not authorized

Check your .gitmodules file: if it includes the URL https://[email protected]/thiagomp/linkcheckr/src/master/, then it is not a valid https URL for a Git repository.
The valid one would be:

https://[email protected]/thiagomp/linkcheckr.git

So change its URL and see if this work better.