<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://wiki.kogite.fr/index.php?action=history&amp;feed=atom&amp;title=Git_%3A_utilisation</id>
		<title>Git : utilisation - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.kogite.fr/index.php?action=history&amp;feed=atom&amp;title=Git_%3A_utilisation"/>
		<link rel="alternate" type="text/html" href="https://wiki.kogite.fr/index.php?title=Git_:_utilisation&amp;action=history"/>
		<updated>2026-06-23T00:57:18Z</updated>
		<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.kogite.fr/index.php?title=Git_:_utilisation&amp;diff=5451&amp;oldid=prev</id>
		<title>Frank le 10 décembre 2012 à 11:18</title>
		<link rel="alternate" type="text/html" href="https://wiki.kogite.fr/index.php?title=Git_:_utilisation&amp;diff=5451&amp;oldid=prev"/>
				<updated>2012-12-10T11:18:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version du 10 décembre 2012 à 11:18&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Ligne 13 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 13 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dans ce cas git ne fait aucun merge, il faudra le faire manuellement ensuite. On peut donc plutôt utiliser :&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dans ce cas git ne fait aucun merge, il faudra le faire manuellement ensuite. On peut donc plutôt utiliser :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; git pull origin&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; git pull origin&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;qui réalise fetch + merge &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;autimatiquement&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;qui réalise fetch + merge &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;automatiquement&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Si des fichiers locaux ont été modifiés (pour des tests par exemple) et que Git indique un problème de cohérence entre le local et le remote:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; Entry xxx not update. Cannot merge&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;on peut réinitialiser les fichiers locaux par rapport à la version correspondante en remote avant de faire le &amp;quot;pull&amp;quot; :&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; git reset --hard HEAD&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; git pull origin&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Créer une branche :&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Créer une branche :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Frank</name></author>	</entry>

	<entry>
		<id>https://wiki.kogite.fr/index.php?title=Git_:_utilisation&amp;diff=4901&amp;oldid=prev</id>
		<title>Pierrick le 3 mai 2012 à 16:05</title>
		<link rel="alternate" type="text/html" href="https://wiki.kogite.fr/index.php?title=Git_:_utilisation&amp;diff=4901&amp;oldid=prev"/>
				<updated>2012-05-03T16:05:30Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version du 3 mai 2012 à 16:05&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l76&quot; &gt;Ligne 76 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 76 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Gestionnaire graphique de version =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Gestionnaire graphique de version =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;gitk, ou Gitg&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;gitk, ou Gitg&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Depot public =&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Installer git-daemon :&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; aptitude install git-daemon-run&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lancer le daemon :&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; git daemon --base-path=/hgit daemon --base-path=/home/git/repositories/ --detach --syslog --export-all&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Git sous windows =&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http://code.google.com/p/msysgit/downloads/list&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pierrick</name></author>	</entry>

	<entry>
		<id>https://wiki.kogite.fr/index.php?title=Git_:_utilisation&amp;diff=4856&amp;oldid=prev</id>
		<title>Frank : Page créée avec « = Documentation = http://progit.org/  = Utilisation = Cloner un dépôt remote sur un PC de développement :  git clone git@github.com:kogite/fabric ./fabric Valider les modi... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.kogite.fr/index.php?title=Git_:_utilisation&amp;diff=4856&amp;oldid=prev"/>
				<updated>2012-04-26T15:08:52Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « = Documentation = http://progit.org/  = Utilisation = Cloner un dépôt remote sur un PC de développement :  git clone git@github.com:kogite/fabric ./fabric Valider les modi... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Documentation =&lt;br /&gt;
http://progit.org/&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
Cloner un dépôt remote sur un PC de développement :&lt;br /&gt;
 git clone git@github.com:kogite/fabric ./fabric&lt;br /&gt;
Valider les modifications en local&lt;br /&gt;
 git commit -a -m&amp;quot;The commit description text&amp;quot;&lt;br /&gt;
Pousser ces modification vers le dépôt remote&lt;br /&gt;
 git push origin&lt;br /&gt;
Récupérer les sources à partir du remote :&lt;br /&gt;
 git fetch origin&lt;br /&gt;
Dans ce cas git ne fait aucun merge, il faudra le faire manuellement ensuite. On peut donc plutôt utiliser :&lt;br /&gt;
 git pull origin&lt;br /&gt;
qui réalise fetch + merge autimatiquement.&lt;br /&gt;
&lt;br /&gt;
Créer une branche :&lt;br /&gt;
 git branch nouveau-module&lt;br /&gt;
Passer &amp;quot;de branche en branche&amp;quot; :&lt;br /&gt;
 git checkout nouveau-module # place sur la branche nouveau-module fraichement créée&lt;br /&gt;
 git checkout master # ramène sur la branche master&lt;br /&gt;
Pour créer une branche et aller directement dessus en même temps :&lt;br /&gt;
 git checkout -b nouveau-module&lt;br /&gt;
Fusionner une branche au master :&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git merge nouveau-module&lt;br /&gt;
S'il y a des conflits (mêmes fichiers modifiés sur les deux branches), Git prévient et annule le merge. Il faut résoudre les conflits manuellement avant de retenter une fusion.&lt;br /&gt;
&lt;br /&gt;
Supprimer une branche (inutile, ou qui a été fusionnée à master) :&lt;br /&gt;
 git branch -d nouveau-module&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= GITHUB : EXEMPLE AVEC PROJET FABRIC =&lt;br /&gt;
* création compte git (exemple : &amp;quot;kogite&amp;quot;, crée un dépôt https://github.com/kogite)&lt;br /&gt;
* enregistrement clé dsa.pub sur git : http://help.github.com/linux-set-up-git/&lt;br /&gt;
Pour information :&lt;br /&gt;
* Procédure fork/clonage : http://help.github.com/fork-a-repo/&lt;br /&gt;
* plus détaillée : http://www.eqqon.com/index.php/Collaborative_Github_Workflow&lt;br /&gt;
&lt;br /&gt;
Connecter en &amp;quot;kogite&amp;quot;, aller sur sur https://github.com/fabric/fabric, créer un fork (bouton fork en haut à droite).&lt;br /&gt;
&lt;br /&gt;
Le fork est automatiquement ajouté au dépôt kogite.&lt;br /&gt;
&lt;br /&gt;
clone local (sur le PC de développement) :&lt;br /&gt;
 cd ~/Dev/Fabric&lt;br /&gt;
 git clone git@github.com:kogite/fabric ./fabric&lt;br /&gt;
Ce clone-ci s'appelle par défaut &amp;quot;master&amp;quot;, le dépôt à l'origine du clone s'appelle par défaut &amp;quot;origin&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Aller dans cd ~/Dev/Fabric/fabric, travailler sur le code !&lt;br /&gt;
&lt;br /&gt;
Commits réguliers dans notre clone local (master):&lt;br /&gt;
* si nouveau(x) fichiers : &lt;br /&gt;
 git add FILE1 FILE2 ...&lt;br /&gt;
* sinon : &lt;br /&gt;
 git commit -a -m&amp;quot;The commit description text&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Une fois les modifications validées en local, on &amp;quot;push&amp;quot; vers le dépôt principal (origin):&lt;br /&gt;
 git push origin&lt;br /&gt;
(commande complète au cas où : git push origin master)&lt;br /&gt;
&lt;br /&gt;
Maintenant, il faut avertir le dépôt officiel de Fabric qu'on a des modifications à inclure. Ce dépôt ne nous appartient pas et on ne peut donc pas y écrire, c'est au développeur principal de prendre la décision d'inclure notre code.&lt;br /&gt;
&lt;br /&gt;
Pour ça, on fait une requête (&amp;quot;pull request&amp;quot;) sur https://github.com/kogite/fabric&lt;br /&gt;
&lt;br /&gt;
Déclarer le dépôt &amp;quot;maître&amp;quot; (qui s'appelera &amp;quot;upstream&amp;quot;, nom convenu) :&lt;br /&gt;
 $ cd ~/Dev/Fabric/fabric&lt;br /&gt;
 $ git remote add upstream git://github.com/fabric/fabric.git&lt;br /&gt;
&lt;br /&gt;
A l'avenir, pour récupérer les dernières version du &amp;quot;maître&amp;quot; et fusionner :&lt;br /&gt;
 $ cd ~/Dev/Fabric/fabric&lt;br /&gt;
 $ git fetch upstream&lt;br /&gt;
 $ git merge upstream/master&lt;br /&gt;
--&amp;gt; ce qui merge &amp;quot;upstream&amp;quot; avec le &amp;quot;master&amp;quot; '''local'''. Il faut donc synchroniser '''master''' (local) avec '''origin''' (dépôt kogite/fabric) pour que tout le monde soit au même niveau.&lt;br /&gt;
 $ git push origin&lt;br /&gt;
&lt;br /&gt;
= Gestionnaire graphique de version =&lt;br /&gt;
gitk, ou Gitg&lt;/div&gt;</summary>
		<author><name>Frank</name></author>	</entry>

	</feed>