<?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>Seven steps &#187; move</title>
	<atom:link href="http://trevoke.net/blog/tag/move/feed/" rel="self" type="application/rss+xml" />
	<link>http://trevoke.net/blog</link>
	<description>Martial arts and technology, $DEITY what a mix!</description>
	<lastBuildDate>Fri, 27 Apr 2012 02:32:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Git : moving a remote branch</title>
		<link>http://trevoke.net/blog/2009/12/29/git-moving-a-remote-branch/</link>
		<comments>http://trevoke.net/blog/2009/12/29/git-moving-a-remote-branch/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 22:08:43 +0000</pubDate>
		<dc:creator>Trevoke</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[branch]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[move]]></category>

		<guid isPermaLink="false">http://trevoke.net/blog/?p=204</guid>
		<description><![CDATA[One can&#8217;t actually move a remote branch, but you can copy a branch and delete a branch, so&#8230; Copy oldbranch in repo to newbranch. Ex: git push origin foobranch:barbranch renames foobranch to barbranch Remove a remote branch: it’s all about the colon: Example: git push origin :heads/some-branch removes some-branch from the remote repo (apparently git <a href='http://trevoke.net/blog/2009/12/29/git-moving-a-remote-branch/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>One can&#8217;t actually move a remote branch, but you can copy a branch and delete a branch, so&#8230;</p>
<p>Copy oldbranch in repo to newbranch.</p>
<pre class="brush: plain; title: ; notranslate">git push {repo} {oldbranch}:heads/{newbranch}</pre>
<p>Ex: git push origin foobranch:barbranch<br />
renames foobranch to barbranch</p>
<p>Remove a remote branch: it’s all about the colon:</p>
<pre class="brush: plain; title: ; notranslate">git push &lt;remote_repo&gt; :heads/&lt;branch&gt;</pre>
<p>Example: git push origin :heads/some-branch removes some-branch from the remote repo (apparently git push origin :some-branch works as well).</p>
<p>This works for removing a tag as well: git push origin :sometag</p>
]]></content:encoded>
			<wfw:commentRss>http://trevoke.net/blog/2009/12/29/git-moving-a-remote-branch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.257 seconds -->

