User manual

Chapter 12
# Committer: root <root @linux- 4yut.site>
# On branch mydevel
# Changes to be committed:
#
(use "git reset HEAD <file >..." to unstage)
# modified:
admin /systempreferences.pl
#
modified:
installer/ data /mysql /en /mandatory /sysprefs.sgl
Save the comment by using
: wq,
and the command should exit with a message such
as this:
[mydevel 4727d7c] This adds the Google Indic Transliteration tool to the
OPAC masthead.
9 files changed, 55 insertions( +),
3 deletions( -)
create mode 100644 koha - tmpl /opac - tmpl /prog /en /js/
googleindictransliteration.js
To check if the commit was successful, we use the
git log
command:
koha @linux: /home /koha /kohaclone # git log
The output should display our commit on the top:
commit 4727d7ca977b032 f08f0b67a6d0b9c778fdd386e
Author: root <root @ linux- 4yut.site>
Date:
Tue Jun 15 16:55:34 2010 +0530
This adds the Google Indic Transliterater to the OPAC masthead.
Create a patch using Git
Now, let's say we have tested this change, and want to share it with others or send it
to the Koha release manager for inclusion in upcoming Koha releases. To do this, we
create a patch using the command
git format -patch:
koha @linux: /home /koha /kohaclone # git format -patch origin /master
[ 241 ]