|
|
| Line 31: |
Line 31: |
|
| |
|
| =Get last version of sources using a full GIT access= | | =Get last version of sources using a full GIT access= |
| | Process is same than getting sources with anonymous access. |
| | However, you must before create an account on GitHub (https://github.com/) and upload a public RSA or DSA certificate into your account profile. |
|
| |
|
| To get sources with goal to edit them, you need a GitHub write access to the GIT remote repository, and a GIT client (GIT command line tool with Linux, or the GIT client in Eclipse).
| | URL to use for GIT clone is same: |
| | | <source lang="ini"> |
| First add repository on your GIT client tool.
| |
| With Eclipse, choose "Clone GIT repository" for this GIT URL:
| |
| git@github.com:Dolibarr/dolibarr.git | | git@github.com:Dolibarr/dolibarr.git |
| | </source> |
|
| |
|
| A HTTP URL is also available but is sometimes offline (so use first one instead):
| | Note that a HTTP URL is also available but it's sometimes offline (so use first one instead): |
| | <source lang="ini"> |
| https://yourgitlogin@github.com/Dolibarr/dolibarr.git | | https://yourgitlogin@github.com/Dolibarr/dolibarr.git |
| | | </source> |
| Choose the branche you are interesting in. You can choose several branches but it is highly recommanded to choose only one branches (if you want to work on several branches, it is easier to restart the full process a second time to choose the other branch).
| |
| | |
| Once remote repository is linked into your client software, you must create a local branch.
| |
| | |
| First go into GIT view - Branche - Local. In most cases, your branch should be already available.
| |
| If not, rigth click on "Branches - Remotes - The branch you want to duplicate locally".
| |
| If you choose "Create Branch", this will duplicate content of branch to work on it locally.
| |
| If you Choose "Checkout", this will update the view "Working Directory".
| |
| | |
| Then, create a PHP project from Eclipse assistant. Choose "Create from existing sources" and select directory that is your GIT local repository.
| |
| | |
| Then right click on project and Choose "Team - Share". Select GIT, check box "Use or create repository in parent folder" and select project available into list.
| |
|
| |
|
| =Update your repository= | | =Update your repository= |