<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="plugin-git" xml:lang="fi">

  <info>
    <link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
    <revision version="3.10" date="2013-10-21" status="draft"/>

    <credit type="author">
      <name>Aleksandra Hankus</name>
      <email its:translate="no">ola.hankus@gmail.com</email>
    </credit>

    <desc>Highlight lines that have been changed since the last commit.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>sampo555</mal:name>
      <mal:email>sampo_75 [at] windowslive [dot] com</mal:email>
      <mal:years>2012.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Valto Wirkola</mal:name>
      <mal:email>valto [dot] wirkola [at] yahoo [dot] com</mal:email>
      <mal:years>2008, 2010</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Tommi Vainikainen</mal:name>
      <mal:email>thv [at] iki [dot] fi</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  </info>

  <title>Git</title>

  <p>The <app>git</app> plugin will highlight lines that have been changed since
  the last commit. Lines will be highlighted only on files that are already
  tracked by git.</p>

  <p>To enable the plugin, select <guiseq><gui style="menu">gedit</gui>
  <gui style="menuitem">Preferences</gui><gui>Plugins</gui>
  <gui>Git</gui></guiseq>.</p>

  <p>The changes are shown in the margin of the document in three different
  colors:</p>
  <terms>
    <item>
      <title>Green</title>
      <p>Shows the new lines added to the document.</p>
    </item>
    <item>
      <title>Orange</title>
      <p>Shows the lines that have been modified in the document.</p>
    </item>
    <item>
      <title>Red</title>
      <p>Shows the parts of the document that have been deleted.</p>
    </item>
  </terms>

  <note>
    <p>Hover the mouse pointer on the red or orange margin to view the original
    text in a tool tip.</p>
  </note>

</page>
