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.
ETrice/Development/Repository
< ETrice | Development
Revision as of 17:11, 17 January 2011 by Unnamed Poltroon (Talk) (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...)
Contents
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://download.eclipse.org/egit/updates
GIT at Eclipse
- general: http://wiki.eclipse.org/Git
- for committers: http://wiki.eclipse.org/Git_for_Committers
- web access to git repositories: http://git.eclipse.org/
- install EGit in Eclipse and look up "Git for Eclipse Users" in the EGit Documentation
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
- http: git clone http://git.eclipse.org/gitroot/etrice/org.eclipse.etrice.git
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