You can use
Git commands in
Eclipse Neon (4.6) platform for the
StarTeam Git Command Line Utility after the following has been performed:
- Perform an initial clone using the
StarTeam Git Command Line Utility.
- 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:
- Click
.
- In the
Location field, enter the location of your
Git.exe. For example,
C:\Program Files (x86)\Git\bin\git.exe.
- In
Working Directory, enter the Workspace location of the project.
- In the
Arguments field, enter
st push -pi ? lbl ?
- 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
. The output can be seen in
Eclipse's console window.