Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "ETrice/Development/Repository"

(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

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

Back to the top