Eclipse

You can use Git commands in Eclipse Neon (4.6) platform for the StarTeam Git Command Line Utility after the following has been performed:

  1. Perform an initial clone using the StarTeam Git Command Line Utility.
  2. Configure the Eclipse External Tools menus to pull, fetch or push to StarTeam Server.

Configuration

To configure external tools to perform pull, push, or fetch commands from StarTeam Server:

  1. Click Run > External Tools > External Tools Configuration.
  2. In the Location field, enter the location of your Git.exe. For example, C:\Program Files (x86)\Git\bin\git.exe.
  3. In Working Directory, enter the Workspace location of the project.
  4. In the Arguments field, enter st push -pi ? lbl ?
  5. To configure the pull and fetch commands, repeat steps 1-3 above, but for step 4 use st pull and st fetch, respectively.
Note: Eclipse's external tool configurations are saved under <Eclipse workspace location>\.metadata\.plugins\org.eclipse.debug.core\.launches\.

Running the Commands

Go to Run > External Tools > StarTeam Pull/Fetch/Push. The output can be seen in Eclipse's console window.