Show number of commits on origin that are ahead
已回答
Hello,
I love intellij and recently i have stopped using SourceTree in favour for Intellij version control. However I really miss a feature that made my life easier, on SourceTree i had this indication:
It showed that on origin there was 195 commits on release-4.30 branch since my last pull and before i commited my changes i could sync them with origin to not clutter git history with unnecessary merges (if i commited without syncing). Is there an equivalent of this on Intellij version control?
Another thing is that this indication was changing automatically, I didn't have to fetch by myself (maybe there is a setting that fetches automatically on a time interval?)
请先登录再写评论。
There is no such a feature in IDEA at the moment. There are plans to add it though - see https://youtrack.jetbrains.com/issue/IDEA-140406
What is the usecase to see the exact number of commits, btw? It seems that it is enough to show there is something to push/pull, without exact number.
Yeah, the exact number is not the most important feature here. The indication that there is something to push/pull will be sufficient enough :).
However i liked the fact that i could see a rough indication how much work was done on the remote (and how important sync could be).
Does this has been addressed yet? I need at least some kind of indicator showing if there's something to push/pull.
I see that is available in 2019.1 (191.6183.87) but I can't find it :/
I can see it now, one more thing, is it possible to see the same thing on the pane of the Git tool window. I don't see the arrows in the git pane window.
Delvallejonatan There is no option to add arrows in the branches list in Git toolwindow.
More likely these arrows may be distracting or overload interface since in case of a multi-module project you may see names of modules next to a branch if modules differ from each other in terms of branches.