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.
Difference between revisions of "ETrice/Development/Repository"
< ETrice | Development
Ts.protos.de (Talk | contribs) |
(→Use EGit) |
||
Line 35: | Line 35: | ||
* Next > | * Next > | ||
* Select All + Finish | * Select All + Finish | ||
+ | |||
+ | [[Category:ETrice]] | ||
+ | [[Category:modeling]] |
Revision as of 01:36, 7 February 2011
Contents
Git
Getting Started
- complete online version of the ProGIT book: http://progit.org/book/
- 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
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 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