Difference between revisions of "ETrice/Development/Repository"

From Eclipsepedia

Jump to: navigation, search
Line 3: Line 3:
 
* complete online version of the ProGIT book: http://progit.org/book/
 
* complete online version of the ProGIT book: http://progit.org/book/
 
* download git: http://git-scm.com/download
 
* download git: http://git-scm.com/download
 +
** e.g. for Windows: Git-1.7.3.1-preview20101002.exe
 +
** Line Endings:
 +
*** Windows: check out Windows-style, commit Unix-style line endings
 +
*** Linux: Checkout as is, commit Unix-style line endings
 
* install EGit (update site): http://download.eclipse.org/egit/updates
 
* install EGit (update site): http://download.eclipse.org/egit/updates
  

Revision as of 06:49, 18 January 2011

Contents

Git

Getting Started

GIT at Eclipse

Clone eTrice Repository

Configuration

IMPORTANT: execute in shell or git shell:

  • git config --global user.email <your email address>
  • git config --global user.name "<your user name>"

pull/push (only for committers)

  • ssh: git clone ssh://<dein commiter name>@git.eclipse.org/gitroot/etrice/org.eclipse.etrice.git
  • https: git clone https://<dein commiter name>@git.eclipse.org/gitroot/etrice/org.eclipse.etrice.git

only pull

Use EGit

  • create empty workspace
  • open view "Git Repositories" or perspective "Git Repository Exploring"
  • add repository path of your local git repository you cloned before
  • contextmenu on repository: "Import Projects..."
  • Next >
  • Select All + Finish