Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "TM/Git Workflows"

< TM
(New page: = Installation = == Windows Install == 1. Install [http://code.google.com/p/tortoisegit/ Tortoise Git]. Not a must-have but helpful. Recommended to install this first. 2. Install [http:/...)
 
Line 1: Line 1:
 
 
= Installation =
 
= Installation =
 
== Windows Install ==
 
== Windows Install ==
  
1. Install [http://code.google.com/p/tortoisegit/ Tortoise Git]. Not a must-have but helpful. Recommended to install this first.
+
# Install [http://code.google.com/p/tortoisegit/ Tortoise Git]. Not a must-have but helpful. Recommended to install this first.
2. Install [http://code.google.com/p/msysgit/downloads/list?can=2&q=%22Full+installer+for+official+Git+for+Windows%22 Msysgit] as per the Tortoise Git instructions. Not a must-have but strongly recommended from the start, in order to be consistent between egit and commandline.
+
# Install [http://code.google.com/p/msysgit/downloads/list?can=2&q=%22Full+installer+for+official+Git+for+Windows%22 Msysgit] as per the Tortoise Git instructions. Not a must-have but strongly recommended from the start, in order to be consistent between egit and commandline.
3. Launch Git Bash
+
# Launch Git Bash
 
** If it is slow for you, you may want to set a '''HOME''' environment variable to a local disk and update the Git Bash program shortcut
 
** If it is slow for you, you may want to set a '''HOME''' environment variable to a local disk and update the Git Bash program shortcut
 
** For me, the default %HOMEDRIVE%%HOMEPATH% pointed to a non-existing remote folder, making everything dead slow
 
** For me, the default %HOMEDRIVE%%HOMEPATH% pointed to a non-existing remote folder, making everything dead slow
 
** I've set HOME=D:/Workspaces/git -- all your git repos will be below there by default, and your user config too
 
** I've set HOME=D:/Workspaces/git -- all your git repos will be below there by default, and your user config too
 
** Re-start to verify Git Bash is fast and HOME is accurate
 
** Re-start to verify Git Bash is fast and HOME is accurate
4. Set up your user ID on git bash as per [[Git#Committers_new_to_Git]]
+
# Set up your user ID on git bash as per [[Git#Committers_new_to_Git]]
 
   git config --global user.email my_committer_email@address.com
 
   git config --global user.email my_committer_email@address.com
 
   git config --global user.name "John Doe"
 
   git config --global user.name "John Doe"
5. Launch Eclipse SDK and install latest egit from http://download.eclipse.org/egit/updates
+
# Launch Eclipse SDK and install latest [http://www.eclipse.org/egit Egit] from http://download.eclipse.org/egit/updates

Revision as of 12:51, 8 November 2012

Installation

Windows Install

  1. Install Tortoise Git. Not a must-have but helpful. Recommended to install this first.
  2. Install Msysgit as per the Tortoise Git instructions. Not a must-have but strongly recommended from the start, in order to be consistent between egit and commandline.
  3. Launch Git Bash
    • If it is slow for you, you may want to set a HOME environment variable to a local disk and update the Git Bash program shortcut
    • For me, the default %HOMEDRIVE%%HOMEPATH% pointed to a non-existing remote folder, making everything dead slow
    • I've set HOME=D:/Workspaces/git -- all your git repos will be below there by default, and your user config too
    • Re-start to verify Git Bash is fast and HOME is accurate
  1. Set up your user ID on git bash as per Git#Committers_new_to_Git
  git config --global user.email my_committer_email@address.com
  git config --global user.name "John Doe"
  1. Launch Eclipse SDK and install latest Egit from http://download.eclipse.org/egit/updates

Back to the top