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.sql
#    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 ...

Get Koha 3 Library Management System now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.