No place to enter credentials for BitBucket in Community version
Answered
My previous experience with IntelliJ Idea was in a corporate setting where most all the tools were already set up. Now, I am trying to set up a connection between IntelliJ Idea and my personal BitBucket account on my own local computer. The following has succeeded.
1. BitBucket account setup
2. Repository setup
3. Clone address copied
4. Git installed in IntelliJ.
Note: the VCS menu item disappeared and a Git menu item appeared.
5. Git remote set up with clone address
But, the dialog box to add the BitBucket credentials did not show up. Neither can I find a way to force it open.
Thanks!
Please sign in to leave a comment.
Hi Nora,
This will popup only if no credentials will be found for this repo, in case credentials are found either via git credentials manager or IDEA (if git credential is disabled in IDE) you will automatically connect.
Are you able to push to the project?
Your reply helped increase my understanding. Here is the next round:
1. If I added credentials for my BitBucket account to another project in IntelliJ, would they apply to this project, as well?
2. I did try to push, but the Push button is grayed out. There are these two lines:
master → empty repository
bad revision ‘refs/heads/master’
3. The project is the default Java created by IntelliJ with the Hello World changed as a test.
1) Credentials are saved either in file defined in Settings | Appearance & Behavior | System Settings | Passwords or by git credential manager if it's enabled in Settings | Version Control | Git, and is not project but account based.
2) Can you push via terminal inside IDE?
I ran through this process on two computers with IntelliJ Idea installed. The second computer popped up the Credentials dialog box when the remote address was added. So, some setting was different.
This answer was helpful in the following ways:
1. Looking at the System Settings was helpful, even though the Password was not there.
2. It was helpful to turn on the Credential Manager.
3. While it didn't pop up the Credentials Manager when I re-added the remote address, it did when I did a Commit and Push.
I hope this helps others.