
Customizing Koha Software
Committing changes
We will use Git to commit the changes we have just made. First, let's check what
files are modified using the
git status
command:
koha @ linux: /home /koha /kohaclone # git status
# On branch koha -3.0.2
# Changed but not updated:
#
(use "git add <file>..." to update what will be committed)
#
(use "git checkout -- <file >..." to discard changes in working
directory)
# modified:
admin /systempreferences.pl
# modified:
installer/ data /mysql /en /mandatory /sysprefs.sgl
# modified:
installer /data /mysql /updatedatabase30.pl
# modified:
koha - tmpl /opac - tmpl /prog /en /CSS /opac.CSS
# modified:
koha - tmpl /opac - tmpl /prog /en /includes /doc -head-
Now, we add the specific files we want in the patch using the
git add
command:
koha @ linux: /home /koha /kohaclone # git add admin /systempreferences.pl
koha @ linux: /home /koha /kohaclone # git add installer /data /mysql /en/
mandatory /sysprefs.sgl
koha @linux: /home /koha /kohaclone # git add installer /data /mysql/
updatedatabase30.pl
Once we have added all the files, we use the
git commit
command to make the
commit:
koha @ linux: /home /koha /kohaclone # git commit
The command prompts for user input; here we add
a description of the commit:
This adds the Google Indic Transliteration tool to the OPAC masthead.
# Please enter the commit message for your changes. Lines starting
# with
' #' will be ignored, and an empty message aborts the commit.
[ 240 ]
Kommentare zu diesen Handbüchern