First, you must of course install git. Use aptitude or your favorite software manager.

Second, you must create a directory and go inside it:
mkdir dolibarr
cd dolibarr

Then, you have to clone the project
git clone https://github.com/Dolibarr/dolibarr.git

You can then select the branch you want to use (let's say master for us)
git checkout master

Last, you must really download the files. You can use git pull, but i prefer fetch. Pull is directly doing a merge with your own changes, while fetch will let you handle changes (and resolve conflicts) before merging anything. Also, for now, let's say we only want HEAD (latest commit).
git fetch -R HEAD

---

So, yes, once it is done, you can simply
cd dolibarr
git fetch



_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à