<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cHmuul.net &#187; GIT</title>
	<atom:link href="http://www.chmuul.net/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chmuul.net</link>
	<description>man muss dabey gewesen seyn</description>
	<lastBuildDate>Fri, 20 Aug 2010 08:47:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>GIT in Farbe&#8230; und bunt!</title>
		<link>http://www.chmuul.net/2010/06/git-in-farbe-und-bunt/</link>
		<comments>http://www.chmuul.net/2010/06/git-in-farbe-und-bunt/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 11:45:37 +0000</pubDate>
		<dc:creator>AaL</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[Farben]]></category>
		<category><![CDATA[Versionsverwaltung]]></category>

		<guid isPermaLink="false">http://www.chmuul.net/?p=247</guid>
		<description><![CDATA[Um Quellcodeverwaltung etwas farbiger und übersichtlicher zu machen, kann man die Ausgaben von GIT ganz einfach colorieren.
Einfach folgendes in die Shell eingeben:
1git config color.ui true
]]></description>
			<content:encoded><![CDATA[<p>Um Quellcodeverwaltung etwas farbiger und übersichtlicher zu machen, kann man die Ausgaben von GIT ganz einfach colorieren.</p>
<p>Einfach folgendes in die Shell eingeben:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> config color.ui <span style="color: #c20cb9; font-weight: bold;">true</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.chmuul.net/2010/06/git-in-farbe-und-bunt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GIT Repository nachträglich an SVN hängen</title>
		<link>http://www.chmuul.net/2010/05/git-repository-nachtraglich-an-svn-hangen/</link>
		<comments>http://www.chmuul.net/2010/05/git-repository-nachtraglich-an-svn-hangen/#comments</comments>
		<pubDate>Thu, 20 May 2010 07:56:12 +0000</pubDate>
		<dc:creator>AaL</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Versionsverwaltung]]></category>

		<guid isPermaLink="false">http://www.chmuul.net/?p=230</guid>
		<description><![CDATA[Die Möglichkeit GIT als besseres Frontend für SVN zu verwenden ist eines meiner Lieblingsfeatures. GIT an ein existierendes SVN Repository anzubinden könnte nicht einfacher sein:
1git svn clone -s &#38;lt;svn -URL&#38;gt;
&#8230; wobei der Schalter &#8220;-s&#8221; dafür sorgt, dass die standardmäßigen Verzeichnisse trunk, tags und branches verwendet werden.
Was aber tun, wenn man mit einem GIT Repository angefangen [...]]]></description>
			<content:encoded><![CDATA[<p>Die Möglichkeit GIT als besseres Frontend für SVN zu verwenden ist eines meiner Lieblingsfeatures. GIT an ein existierendes SVN Repository anzubinden könnte nicht einfacher sein:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">git svn clone -s &amp;lt;svn -URL&amp;gt;</div></td></tr></tbody></table></div>
<p>&#8230; wobei der Schalter &#8220;-s&#8221; dafür sorgt, dass die standardmäßigen Verzeichnisse trunk, tags und branches verwendet werden.</p>
<p>Was aber tun, wenn man mit einem GIT Repository angefangen hat und das Ganze nachträglich an SVN anbinden möchte?<br />
Kurz gesagt erstellt man dafür ein neues GIT Repository indem man das leere SVN Repository clont. Danach wird das alte GIT Repository mit  &#8220;git remote add gitrepo &lt;pfad -zum-alten-GIT-Repo&gt;&#8221; eingehängt, der Inhalt rübergezogen (fetch) und mit dem aktuellen Branch zusammengelegt (merge).</p>
<p>Eine sehr gute, <a href="http://softech.informatik.uni-kl.de/Homepage/InfothekGit#Ein_Git_Repository_nach_Subversi" title="Anleitung zum nachträglichen Anbinden von SVN an GIT Repositories">ausführliche Anleitung</a> dazu gibt es bei der Arbeitsgruppe Software Technik der Uni Kaiserslautern.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chmuul.net/2010/05/git-repository-nachtraglich-an-svn-hangen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GIT und die Datenbank</title>
		<link>http://www.chmuul.net/2010/04/git-und-die-datenbank/</link>
		<comments>http://www.chmuul.net/2010/04/git-und-die-datenbank/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 17:14:34 +0000</pubDate>
		<dc:creator>AaL</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Versionsverwaltung]]></category>

		<guid isPermaLink="false">http://www.chmuul.net/?p=164</guid>
		<description><![CDATA[Nach einer Anfrage von Nightfly hier eine kleine Anleitung wie man Datenbank-Änderungen auch mit GIT erfassen kann. GIT ist im Grunde nicht dazu gebaut Datenbanken zu synchronisieren. Man kann es aber mehr oder weniger dazu missbrauchen.
Dabei werden nicht die Änderungen erfasst, sondern jedes mal ein kompletter Dump erstellt. Wie gesagt, optimal ist das nicht, aber [...]]]></description>
			<content:encoded><![CDATA[<p>Nach einer <a href="http://www.chmuul.net/2010/02/saubere-git-repositories-fur-typo3-projekte/comment-page-1/#comment-35" title="Zum Kommentar von Nightfly">Anfrage von Nightfly</a> hier eine kleine Anleitung wie man Datenbank-Änderungen auch mit GIT erfassen kann. GIT ist im Grunde nicht dazu gebaut Datenbanken zu synchronisieren. Man kann es aber mehr oder weniger dazu missbrauchen.<br />
Dabei werden nicht die Änderungen erfasst, sondern jedes mal ein kompletter Dump erstellt. Wie gesagt, optimal ist das nicht, aber wer bei jedem Commit auch einen frischen MySQL Dump mit dabei haben möchte, kann folgendermaßen vorgehen:</p>
<p>Man erstellt eine .git/hooks/pre-commit Datei mit folgendem Inhalt:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/sh</span><br />
<span style="color: #666666; font-style: italic;"># pre-commit</span><br />
<br />
mysqldump5 <span style="color: #660033;">-u</span> someUser <span style="color: #660033;">--password</span>=somePassword <span style="color: #660033;">--add-drop-table</span> someDatabaseName <span style="color: #000000; font-weight: bold;">&gt;</span> dump.sql<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> add dump.sql</div></td></tr></tbody></table></div>
<p>Damit erhält man automatisch in jedem Commit eine aktuelle dump.sql.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chmuul.net/2010/04/git-und-die-datenbank/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Erstellen von GIT Repositories</title>
		<link>http://www.chmuul.net/2010/02/erstellen-von-git-repositories/</link>
		<comments>http://www.chmuul.net/2010/02/erstellen-von-git-repositories/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 22:11:27 +0000</pubDate>
		<dc:creator>AaL</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[Versionsverwaltung]]></category>

		<guid isPermaLink="false">http://www.chmuul.net/?p=34</guid>
		<description><![CDATA[Um mit GIT lokal zu arbeiten, genügt eigentlich der einfache Shell-Befehl:
1git init
Um aber verteilt mit mehreren Entwicklern und verschiedenen Rechnern zu arbeiten, erstellt man am besten ein zentrales Repository auf einem Server mit:
1git init --bare
Danach können sich die einzelnen Entwickler wie folgt in das Repository einklinken:
1git clone ssh://user@host/dir/repository
Danach kann man mit
1git pull
bzw.
1git push
Revisionen holen bzw. [...]]]></description>
			<content:encoded><![CDATA[<p>Um mit GIT lokal zu arbeiten, genügt eigentlich der einfache Shell-Befehl:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> init</div></td></tr></tbody></table></div>
<p>Um aber verteilt mit mehreren Entwicklern und verschiedenen Rechnern zu arbeiten, erstellt man am besten ein zentrales Repository auf einem Server mit:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> init <span style="color: #660033;">--bare</span></div></td></tr></tbody></table></div>
<p>Danach können sich die einzelnen Entwickler wie folgt in das Repository einklinken:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> clone <span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span>user<span style="color: #000000; font-weight: bold;">@</span>host<span style="color: #000000; font-weight: bold;">/</span>dir<span style="color: #000000; font-weight: bold;">/</span>repository</div></td></tr></tbody></table></div>
<p>Danach kann man mit</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> pull</div></td></tr></tbody></table></div>
<p>bzw.</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> push</div></td></tr></tbody></table></div>
<p>Revisionen holen bzw. einspielen.<br />
Insbesondere beim ersten Mal muss man dabei die Quelle und den Branch angeben:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> pull origin master</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.chmuul.net/2010/02/erstellen-von-git-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saubere GIT Repositories für TYPO3 Projekte</title>
		<link>http://www.chmuul.net/2010/02/saubere-git-repositories-fur-typo3-projekte/</link>
		<comments>http://www.chmuul.net/2010/02/saubere-git-repositories-fur-typo3-projekte/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 15:13:17 +0000</pubDate>
		<dc:creator>AaL</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[Versionsverwaltung]]></category>

		<guid isPermaLink="false">http://www.chmuul.net/?p=23</guid>
		<description><![CDATA[Ich erstelle gerade ein TYPO3 Projekt und wollte den Sourcecode mit GIT managen. Da ich natürlich &#60;b&#62;nur&#60;/b&#62; die projektspezifischen Dateien ohne temporäre Inhalte und Caches im GIT Repository haben möchte, habe ich folgenden Inhalt in die .git/info/exclude geschrieben:
1234/typo3_src*
/public/typo3temp/*
/public/typo3conf/temp_*
/public/typo3conf/ENABLE_INSTALL_TOOL
&#8230; ausgehend von der Verzeichnisstruktur:
/public
/typo3_src-4.3.1
Jetzt haben wir allerdings das Problem, dass der Ordner public/typo3temp nicht mit ins Repositry [...]]]></description>
			<content:encoded><![CDATA[<p>Ich erstelle gerade ein TYPO3 Projekt und wollte den Sourcecode mit GIT managen. Da ich natürlich &lt;b&gt;nur&lt;/b&gt; die projektspezifischen Dateien ohne temporäre Inhalte und Caches im GIT Repository haben möchte, habe ich folgenden Inhalt in die .git/info/exclude geschrieben:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/typo3_src*<br />
/public/typo3temp/*<br />
/public/typo3conf/temp_*<br />
/public/typo3conf/ENABLE_INSTALL_TOOL</div></td></tr></tbody></table></div>
<p>&#8230; ausgehend von der Verzeichnisstruktur:<br />
/public<br />
/typo3_src-4.3.1</p>
<p>Jetzt haben wir allerdings das Problem, dass der Ordner public/typo3temp nicht mit ins Repositry eingespült wird. Damit der Ordner doch mit im Repository auftaucht, habe ich in dem Verzeichnis eine .donotdelete Datei erstellt:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>typo3temp<span style="color: #000000; font-weight: bold;">/</span>.donotdelete<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> add <span style="color: #660033;">-f</span> public<span style="color: #000000; font-weight: bold;">/</span>typo3temp<span style="color: #000000; font-weight: bold;">/</span>.donotdelete</div></td></tr></tbody></table></div>
<p>Danke an den <a href="http://www.suelzomat.de">Klops</a> für den Tipp.</p>
<p>Vielleicht hilfts ja wem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chmuul.net/2010/02/saubere-git-repositories-fur-typo3-projekte/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
