<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>pvaneynd</title>
  <link>https://pvaneynd.dreamwidth.org/</link>
  <description>pvaneynd - Dreamwidth Studios</description>
  <lastBuildDate>Sat, 26 Feb 2011 09:34:27 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>pvaneynd</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/7693145/447974</url>
    <title>pvaneynd</title>
    <link>https://pvaneynd.dreamwidth.org/</link>
    <width>76</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://pvaneynd.dreamwidth.org/138829.html</guid>
  <pubDate>Sat, 26 Feb 2011 09:34:27 GMT</pubDate>
  <title>google me: changing the branch in a bare git repository</title>
  <link>https://pvaneynd.dreamwidth.org/138829.html</link>
  <description>If you are using something like git.debian.org to share repositories and you have done major surgery that makes that &apos;master&apos; became invalid this is easy to fix in your local repository:&lt;br /&gt;&lt;br /&gt;git checkout new-master&lt;br /&gt;git branch -D master&lt;br /&gt;git branch -m new-master master&lt;br /&gt;&lt;br /&gt;but what do you do with the bare repository on git.debian.org? Well you can do:&lt;br /&gt;&lt;br /&gt;git branch -m master old-master&lt;br /&gt;git branch -m new-master master&lt;br /&gt;git symbolic-ref HEAD refs/heads/master&lt;br /&gt;git branch -D old-master&lt;br /&gt;&lt;br /&gt;of course anybody who was following this git repository now has problems ...&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=pvaneynd&amp;ditemid=138829&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://pvaneynd.dreamwidth.org/138829.html</comments>
  <category>git</category>
  <category>life</category>
  <category>debian</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
