Difference between revisions of "Git"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
<div class="subcolumns"> | <div class="subcolumns"> | ||
+ | ===Setup === | ||
<div class="c50l"> | <div class="c50l"> | ||
+ | |||
[[File:Git01.png|border|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import... | [[File:Git01.png|border|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import... | ||
</div> | </div> | ||
Line 29: | Line 31: | ||
</div> | </div> | ||
<div class="subcolumns"> | <div class="subcolumns"> | ||
+ | ===Clone === | ||
+ | |||
<div class="c50l"> | <div class="c50l"> | ||
[[File:Git03.png|border|300px|left]] Click "'''Clone...'''" to create a local copy of the remote repository. This copy will include the full project history | [[File:Git03.png|border|300px|left]] Click "'''Clone...'''" to create a local copy of the remote repository. This copy will include the full project history | ||
Line 43: | Line 47: | ||
</div> | </div> | ||
<div class="c50r"> | <div class="c50r"> | ||
− | [[File:Git06.png|border|300px|left]] Now choose a location where the local repository is stored: | + | [[File:Git06.png|border|300px|left]] Now choose a location where the local repository is stored: Create <workspace>'''/repos/BaseX''' |
− | and click "'''Finish'''" | + | and click "'''Finish'''". |
</div> | </div> | ||
Line 50: | Line 54: | ||
<div class="subcolumns"> | <div class="subcolumns"> | ||
+ | ===Create the project === | ||
<div class="c50l"> | <div class="c50l"> | ||
[[File:Git07.png|border|300px|left]] Select our newly cloned repository and click Next | [[File:Git07.png|border|300px|left]] Select our newly cloned repository and click Next | ||
Line 68: | Line 73: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
==Need help using git?== | ==Need help using git?== | ||
===Installing=== | ===Installing=== |
Revision as of 19:56, 17 February 2011
Contents
Using Git to contribute to BaseX
The team uses git and GitHub to manage the source code.
All team members have read+write access to the repository, external contributors are invited to fork the project.
Git makes it easy to retain a full copy of the repository for yourself, to get up and running simply fork BaseX. If forking sounds unfamiliar to you I suggest you go read the GIT#Need_help_using_git.3F Manual.
You can then build BaseX with Maven.
Using Git & Eclipse
- (Optional) Head over to BaseX at GitHub and create an account
- Fork BaseX so you have a version on your own
- Make yourself familiar with git, there are several tutorials around the web
- Install egit (Eclipse: Help > Marketplace > Search for egit or get it from here)
- Open Eclipse
Setup
Clone
Click "Clone..." to create a local copy of the remote repository. This copy will include the full project history
Create the project
Need help using git?
Installing
For more information please refer to: GitHub: git Installation Guide