Delta Upgrade

The following page describe how to retreive an archive containing only changed files between two Dolibarr versions using the Git repository.

For the example, we take an upgrade from 11.0.1 to 11.0.2 but you can change the versions to suit your needs.

  • First, start by cloning the Dolibarr repository locally on your machine
git clone

A new directory named dolibarr containing the Dolibarr source code from all branches will be located on your current path.

  • Switch to the cloned repository
cd dolibarr

  • Create a local branch with the code from the latest released tag
git checkout tags/11.0.2 -b 11.0.2

  • Create an archive of the changed files between 11.0.1 and 11.0.2
git archive HEAD $(git diff --name-only tags/11.0.1 tags/11.0.2 --diff-filter=ACMRTUXB)

Your archive will be created inside the current dolibarr directory with the name