Difference between revisions of "ETrice/Development/Repository"

From Eclipsepedia

Jump to: navigation, search
(New page: = Git = == Getting Started == * complete online version of the ProGIT book: http://progit.org/book/ * download git: http://git-scm.com/download * install EGit (update site): http://downloa...)
 
Line 24: Line 24:
 
* http: git clone http://git.eclipse.org/gitroot/etrice/org.eclipse.etrice.git
 
* http: git clone http://git.eclipse.org/gitroot/etrice/org.eclipse.etrice.git
  
=== Use from Eclipse (EGit) ===
+
=== Use EGit ===
 
+
* create empty workspace
* Git Repositories View öffnen
+
* open view "Git Repositories" or perspective "Git Repository Exploring"
* Pfad des geklonten Repositories kopieren, etwa "C:\Users\hrentz\Documents\protos\Entwicklung\Projekte\protos\eTrice\eTrice-git\org.eclipse.etrice\.git"
+
* add repository path of your local git repository you cloned before
* Kontextmenü: Paste Repository Path
+
* contextmenu on repository: "Import Projects..."
* Kontextmenü auf dem Repository: Import Projects...
+
* Next >
* Projekte auswählen
+
* Select All + Finish
 
+
dann geht es weiter mit
+
* add
+
* commit
+
* push
+

Revision as of 17:24, 17 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