<?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="fr">
<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>Vincent Untz</mal:name>
<mal:email>vuntz@gnome.org</mal:email>
<mal:years>2006.</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Jonathan Ernst</mal:name>
<mal:email>jonathan@ernstfamily.ch</mal:email>
<mal:years>2006.</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Philippe Lefevre</mal:name>
<mal:email>ph.l@libertysurf.fr</mal:email>
<mal:years>2006.</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Christophe Bliard</mal:name>
<mal:email>christophe.bliard@trux.info</mal:email>
<mal:years>2006.</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Claude Paroz</mal:name>
<mal:email>claude@2xlibre.net</mal:email>
<mal:years>2007-2011.</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Bruno Brouard</mal:name>
<mal:email>annoa.b@gmail.com</mal:email>
<mal:years>2011.</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Luc Pionchon</mal:name>
<mal:email>pionchon.luc@gmail.com</mal:email>
<mal:years>2011.</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Alain Lojewski <allomervan@gmail.com>, 2011-2013.Alexandre Franke</mal:name>
<mal:email>alexandre.franke@gmail.com</mal:email>
<mal:years>2013.</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>