Difference between revisions of "Git"

From BaseX Documentation
Jump to navigation Jump to search
Line 10: Line 10:
 
# Open Eclipse
 
# Open Eclipse
  
=== Visual Quick Guide ===
 
 
<div class="subcolumns">
 
<div class="subcolumns">
 
<div class="c50l">
 
<div class="c50l">
Line 17: Line 16:
 
<div class="c50r">
 
<div class="c50r">
 
[[File:Git02.png|300px|left]] Select "Projects from Git" and click Next &gt;
 
[[File:Git02.png|300px|left]] Select "Projects from Git" and click Next &gt;
</div
+
</div>
</div><div class="subcolumns">
+
</div>
 
+
<div class="subcolumns">
 
<div class="c50l">
 
<div class="c50l">
 
[[File:Git03.png|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import...
 
[[File:Git03.png|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import...
Line 27: Line 26:
 
</div>
 
</div>
 
</div>
 
</div>
 +
 
<div class="subcolumns">
 
<div class="subcolumns">
<div class="c50r">
 
[[File:Git05.png|300px|left]] Select "Projects from Git" and click Next &gt;
 
</div>
 
 
<div class="c50l">
 
<div class="c50l">
[[File:Git06.png|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import...
+
[[File:Git05.png|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import...
 
</div>
 
</div>
 
<div class="c50r">
 
<div class="c50r">
[[File:Git04.png|300px|left]] Select "Projects from Git" and click Next &gt;
+
[[File:Git06.png|300px|left]] Select "Projects from Git" and click Next &gt;
 
</div>
 
</div>
 
</div>
 
</div>
 +
 
<div class="subcolumns">
 
<div class="subcolumns">
<div class="c50r">
 
[[File:Git05.png|300px|left]] Select "Projects from Git" and click Next &gt;
 
</div>
 
 
<div class="c50l">
 
<div class="c50l">
 
[[File:Git07.png|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import...
 
[[File:Git07.png|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import...
Line 49: Line 44:
 
</div>
 
</div>
 
</div>
 
</div>
 +
 
<div class="subcolumns">
 
<div class="subcolumns">
<div class="c50r">
 
[[File:Git05.png|300px|left]] Select "Projects from Git" and click Next &gt;
 
</div>
 
 
<div class="c50l">
 
<div class="c50l">
 
[[File:Git09.png|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import...
 
[[File:Git09.png|300px|left]] In the '''Package Explorer''' to the left use right-click and choose Import...

Revision as of 18:34, 17 February 2011

Using Git to contribute to BaseX

The team uses git and GitHub to manage the source code.

Using Git & Eclipse

  1. (Optional) Head over to GitHub and create an account
  2. Make yourself familiar with git, there are several tutorials around the web
  3. Install egit (Eclipse: Help > Marketplace > Search for egit or get it from here)
  4. Open Eclipse
Git01.png
In the Package Explorer to the left use right-click and choose Import...
Git02.png
Select "Projects from Git" and click Next >
Git03.png
In the Package Explorer to the left use right-click and choose Import...
Git04.png
Select "Projects from Git" and click Next >
Git05.png
In the Package Explorer to the left use right-click and choose Import...
Git06.png
Select "Projects from Git" and click Next >
Git07.png
In the Package Explorer to the left use right-click and choose Import...
Git08.png
Select "Projects from Git" and click Next >
Git09.png
In the Package Explorer to the left use right-click and choose Import...
Git10.png
Select "Projects from Git" and click Next >