Search code examples
javagitintellij-idea

IntelliJ IDEA Outgoing commits


I am using IntelliJ IDEA 2023.1.5 and I have a problem: for some projects IDEA shows that there are outgoing commits (green dot on the bottom right corner and green arrow) and for some projects it does not. Also, I noticed that when IDEA shows that there are outgoing commits, an "Update" button is enabled on local branch.
Not showing:
Not working
Showing:
Working

What can be the reason? I tried invalidating caches, but that did not help. Also, I did not found any issues about that on the Internet. It probably has something to do with Git, but I don't understand what it really is...

I mean, I want it to show this green dot


Solution

  • Also, if an update is greyed out, most likely your master has no tracked branch set.

    You may easily fix this by checking out master and trying to update it.

    An error should pop up saying enter image description here