We have 4 multi-module projects (Maven), each one in its own Git repository. There are interdependencies between the projects.
In order to have all our code available in a single IntelliJ window, I have imported all the projects as modules.
But this has had the following effect. The Changes > Log is the view where I can see all branches for my project. When I had 1 IntelliJ window per project, the branches I could see there were the branches of the project I had opened. Now that I have all the projects, I can see all the branches intermingled, and it makes it really difficult for me to understand what is going on.
In the screenshot above, the branches marked in blue belong to the same Git repository, and the branch marked in red belong to a different Git repository.
Although there are some filters, I can not see any filter by module (Git repository). It would seem obvious to me to only see branches group per Git repository. Is there any way to do that?
Yes you can, but is not recommended. Best practice is one repo per project always. Otherwise you have multiple projects updating one repo, that can mess with the code a fair bit if not set correctly. If the project is set up to be read-only on one project, that is an exception.
For every discreet feature (bug, enhancement, etc.), a new local branch is made from dev. Developers don't have to work on the same branch, since each feature branch is scoped to only what that single developer is working on. This is where git's cheap branching comes in handy.
Tips
Paths
submenu.Cmd+click
(mac), Alt+click
(win/linux) to select the specific one.OK, the solution for my question is the following:
VCS > Browse CVS repository > Show Git repository log.
Select the directory representing the Git repo you are interested in.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With