<?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>fallinglab &#187; Git</title>
	<atom:link href="http://www.fallinglab.com/category/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fallinglab.com</link>
	<description>It's Not How Far You Fall, It's the Way You Land</description>
	<lastBuildDate>Wed, 17 Mar 2010 21:10:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Remover un submodulo git</title>
		<link>http://www.fallinglab.com/2008/11/27/remover-un-submodulo-git/</link>
		<comments>http://www.fallinglab.com/2008/11/27/remover-un-submodulo-git/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 23:41:27 +0000</pubDate>
		<dc:creator>gustavoe</dc:creator>
				<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.fallinglab.com/2008/11/27/remover-un-submodulo-git/</guid>
		<description><![CDATA[Si usas git y estás manejando las librerías o plugins de tus proyectos ruby como submódulos, seguramente has enfrentado la necesidad de eliminar algún submódulo. Pero, si bien en principio uno podría pensar que es algo sencillo, no es tan transparente como podrías imaginarte. Encontré la respuesta que transcribo a continuación en éste artículo Supongamos [...]]]></description>
			<content:encoded><![CDATA[<p>Si usas git y estás manejando las librerías o <a href="http://woss.name/2008/04/09/using-git-submodules-to-track-vendorrails/">plugins</a> de tus proyectos ruby como submódulos, seguramente has enfrentado la necesidad de eliminar algún submódulo. Pero, si bien en principio uno podría pensar que es algo sencillo, no es tan transparente como podrías imaginarte.</p>
<p>Encontré la respuesta que transcribo a continuación en <a href="http://pitupepito.homelinux.org/?p=24">éste artículo</a></p>
<p>Supongamos que el submódulo que queremos eliminar se llama &#8216;submodulo1&#8242; y se encuentra en el path &#8216;vendor/submodulo1&#8242; los pasos a seguir son los siguientes:</p>
<ol>
<li>Eliminar las líneas correspondientes al submódulo del archivo .gitmodules</li>
<p>editándolo con un editor de textos.</p>
<li>Eliminar las líneas correspondientes al submódulo del archivo .git/config</li>
<p>editándolo con un editor de textos.</p>
<li>Eliminar la entrada correspondiente al submódulo del index/commit
</li>
</ol>
<p><br/></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">--cached</span> vendor<span style="color: #000000; font-weight: bold;">/</span>submodulo1</pre></div></div>

<p>Eso es todo. De todos modos, en mi experiencia, manejar las librerías como submodulos git tiene grandes desventajas. <a href="http://github.com/pat-maddox/giternal/tree/master">Giternal</a>, por citar una, parece una herramienta mucho más adecuada y sin duda alguna, mucho mas sencilla.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fallinglab.com/2008/11/27/remover-un-submodulo-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

