Difference between revisions of "Git"
Jump to navigation
Jump to search
(Docs updated) |
|||
Line 21: | Line 21: | ||
</div> | </div> | ||
<div class="c50r"> | <div class="c50r"> | ||
− | [[File:Git02.png|border|300px|left]] Select "Projects from Git" and click Next > | + | [[File:Git02.png|border|300px|left]] Select "'''Projects from Git'''" and click Next > |
</div> | </div> | ||
</div> | </div> | ||
<div class="subcolumns"> | <div class="subcolumns"> | ||
<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 |
</div> | </div> | ||
<div class="c50r"> | <div class="c50r"> | ||
Line 40: | Line 40: | ||
<div class="c50r"> | <div class="c50r"> | ||
[[File:Git06.png|border|300px|left]] Now choose a location where the local repository is stored: Pick <workspace>/repos/BaseX | [[File:Git06.png|border|300px|left]] Now choose a location where the local repository is stored: Pick <workspace>/repos/BaseX | ||
− | and click "Finish" | + | and click "'''Finish'''" |
</div> | </div> | ||
Line 50: | Line 50: | ||
</div> | </div> | ||
<div class="c50r"> | <div class="c50r"> | ||
− | [[File:Git08.png|border|300px|left]] Select "Import Existing Projects" and depending on your Eclipse version enable automatic sharing. More recent versions will not offer this feature as sharing is enabled by default. | + | [[File:Git08.png|border|300px|left]] Select "'''Import Existing Projects'''" and depending on your Eclipse version enable automatic sharing. More recent versions will not offer this feature as sharing is enabled by default. |
Click next to select the Project to import | Click next to select the Project to import | ||
Line 58: | Line 58: | ||
<div class="subcolumns"> | <div class="subcolumns"> | ||
<div class="c50l"> | <div class="c50l"> | ||
− | [[File:Git09.png|border|300px|left]] Check "basex" and click finish | + | [[File:Git09.png|border|300px|left]] Check "basex" to checkout and click finish |
</div> | </div> | ||
<div class="c50r"> | <div class="c50r"> |
Revision as of 18:53, 17 February 2011
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.
Using Git & Eclipse
- (Optional) Head over to GitHub and create an account
- 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
Click "Clone..." to create a local copy of the remote repository. This copy will include the full project history