FAQ Get,update GIT project sources: Difference between revisions

Line 5: Line 5:
=Get last version of sources using a GIT anonymous access=
=Get last version of sources using a GIT anonymous access=


With no Savannah account or no GIT write privileges, you can still get files with a GIT client ([http://www.wincvs.org WinCVS] or [http://www.tortoisecvs.org TortoiseCVS] for example with Windows, or the CVS client in Eclipse).
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).


The command to get a full snapshot in working directory is:
First add repostiroy on your GIT client tool.
<source lang="bash">
With Eclipse, choose "Clone GIT repository" for this GIT URL:
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr
git://github.com/Dolibarr/dolibarr.git
export CVSROOT
cvs -q checkout -r HEAD dolibarr
</source>


HEAD means we want last version of files (so last development files).
Choose the branches you are interesting in.


=Get last version of sources using a full GIT access=
=Get last version of sources using a full GIT access=