Jump to: navigation, search

ETrice/Development/Repository

< ETrice‎ | Development
Revision as of 17:11, 17 January 2011 by Ts.protos.de (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 from Eclipse (EGit)

  • Git Repositories View öffnen
  • Pfad des geklonten Repositories kopieren, etwa "C:\Users\hrentz\Documents\protos\Entwicklung\Projekte\protos\eTrice\eTrice-git\org.eclipse.etrice\.git"
  • Kontextmenü: Paste Repository Path
  • Kontextmenü auf dem Repository: Import Projects...
  • Projekte auswählen

dann geht es weiter mit

  • add
  • commit
  • push