How can I pull all modules in IntelliJ IDEA ULTIMATE project at once?
Asked Answered
C

1

14

I have a multi-module project in IntelliJ. Each of the modules is stored in a separate git repository.

I have already set them up, so I marked each of them as VCS root in IntelliJ.

Am I able to pull all of them at once using IDE, or should I use command line tool? Currently I'm pulling them one by one:

enter image description here

Catkin answered 12/6, 2017 at 14:9 Comment(0)
C
24

To pull from all repositories at once, use VCS - Update project (Ctrl/Cmd+T)

The screenshot shows checkout command though. If branches name in all repositories are the same, you should enable Synchronous branch control in Settings - Version control - Git, and you will be able to checkout all branches at once from the bottom part of the Branches pop-up

Clicker answered 12/6, 2017 at 20:15 Comment(2)
what if branches names are different ?Horoscope
Update projects updates from the tracked branch. It does not matter how it is called, it just needs to be properly set in git configClicker

© 2022 - 2024 — McMap. All rights reserved.