Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Eclipse
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===[[Git#Egit|EGit]]=== * Egit is the Eclipse standard and in most cases part of an Eclipse distribution * tutorial and detailed description see [https://www.vogella.com/tutorials/EclipseGit/article.html here] * installation s. Help -> About Eclipse IDE -> Installation Details -> Plug-Ins -> Filter to EGit * available view s. Window -> Show View -> Others -> Git ** Git Staging ** Git Repositories ** History * for adding, commiting and pushing use the 'Git Staging' view starting with 'Unstaged Changes' and adding or ignoring and committing or see below Egit uses the same configuration files as git. The label decoration is shown in the views 'package explorer', 'project explorer' and 'navigator'. ====Text Decorations==== * see Window -> Preferences -> Git -> Label Decorations -> Text Decorations ====Icon Decorations==== The decorations icons are: [[File:GitIcons.png|400px]] ====Gitting an Eclipse Project==== There is a discussion if you should put multiple projects in one git repository or having a git repository for each eclipse projects. It seems that the second options is better if the projects are not related. The same applies to what should be included in a git repository and what should be ignored (see [http://blog.askjoelit.com/2014/07/eclipse-team-projects-best-practices.html here]). See list below which files and folders should be in scope of git: * \src\... * \.settings\ // if projects settings differ from workspace settings * \.classpath // e.g. what is the source, where does the class files go, ... * \.project See list below which should be ignored: * \bin\... // or anything which can be recreated * Right click on project -> Team -> Share Project * Select repository or create a new one // moves the complete project to the repository * select files or folder and Team -> Add/Ignore ====Adding a file to the Index==== * Right Click on File -> Team -> Add to Index ====Unignore File or Directory==== * edit .gitignore and delete the rows * add to file to index ====Committing Changes==== * Right Click on Project -> Team -> Commit opens the commit view ====Creating Project from Local Repository==== * File -> Import * Git -> Projects * Existing Local Repository * Select Repository Directory * Import as General Project * Right Mouse on Project -> Configure -> ...Facet... * Select Java (and additional)
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width