User manual

Chapter 11
Of the several branches listed in the output above, two are of immediate interest
to us-
origin /3 . 0.x
and
origin /HEAD
or
origin /master. Origin /3 .0 x
is the
stable branch while
origin /HEAD
or
origin /master
is the development branch.
If we are on a production server and we are interested only in updates for the
stable branch, we will run the
git pull
command pointing to the stable branch-
origin /3.0.x:
koha @1i190 -245:- /kohaclone$ git pull origin 3.0.x
If we are on a test machine, and we want to upgrade to the development branch
for development of test purposes, we run the
git pull
command pointing to the
development branch-
origin /master:
koha@li190- 245: -/kohaclone$ git pull origin master
Once the command is executed your Koha server has the latest updates available in
the
kohaclone
folder.
Switching to a new software version
Now we need to decide which version of the software to use, this of course depends
on what your purpose of upgrading is.
First let us take a look at the tags that are available. To determine this, we use the
command
git tag:
koha @li190 -245:- /kohaclone$ git tag
We see several tags, at the bottom of the list; you should see tags for the
3 .0 . x
branch, something like this:
v3.00.03
v3.00.04
v3.00.05
v3.00.06
And at the very bottom, tags for the master branch, which is currently versioned
3.02.xx:
v3.02.00-alpha
v3.02.00-alpha2
v3.02.00-beta
[ 221 ]