6.4. Importing Projects from a Git Repository into JBoss Developer Studio
Procedure 6.4. Cloning a Remote Git Repository
- Start the Red Hat JBoss BRMS server (if not already running) by selecting the server from the server tab and click the start icon.
- Simultaneously, start the Secure Shell server, if not running already, by using the following command. The command is Linux and Mac specific only. On these platforms, if sshd has already been started, this command will fail and you may safely ignore this step.
/sbin/service sshd start
- In JBoss Developer Studio, select → and navigate to the Git folder. Open the Git folder to select and click .
- Select the repository source as and click .
- Enter the details of the Git repository in the next window and click .

Figure 6.1. Git Repository Details
- Select which branch you want to import in the following window and click .
- You will be presented with the option to define the local storage for this project. Enter (or select) a non-empty directory, make any configuration changes and click .
- Import the project as a general project in the following window and click . Name the project and click .
Procedure 6.5. Importing a Local Git Repository
- Start the Red Hat JBoss BRMS server (if not already running) by selecting the server from the server tab and click the start icon.
- In JBoss Developer Studio, select → and navigate to the Git folder. Open the Git folder to select and click .
- Select the repository source as and click .

Figure 6.2. Git Repository Details
- Select the repository that is to be configured from the list of available repositories and click .
- In the dialog that opens, select the radio button from the and click . Name the project and click .

Figure 6.3. Wizard for Project Import

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.