From c91006611098b584e946470578e783aa32520c35 Mon Sep 17 00:00:00 2001
From: tekkub <tekkub@gmail.com>
Date: Tue, 17 Nov 2009 16:35:18 -0700
Subject: Add note about resetting HEAD

---
 _posts/2009-11-16-egit-corruption.textile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to '_posts/2009-11-16-egit-corruption.textile')

diff --git a/_posts/2009-11-16-egit-corruption.textile b/_posts/2009-11-16-egit-corruption.textile
index 2e51c1e..7d8343c 100644
--- a/_posts/2009-11-16-egit-corruption.textile
+++ b/_posts/2009-11-16-egit-corruption.textile
@@ -23,7 +23,11 @@ Re-pushing is a simple matter of deleting the remote branch and then pushing it
 <pre class="terminal">$ git push origin :master
 $ git push origin master</pre>
 
-You may need to do this for many branches if the remote repo has more than one branch that was pushed by egit.  After you've pushed, testing the repo repo is just a matter of cloning it:
+You may need to do this for many branches if the remote repo has more than one branch that was pushed by egit.  If one of the branches that was re-pushed was the default branch (usually master), you'll need to re-establish that default:
+
+<pre class="terminal">$ git remote set-head origin master</pre>
+
+After you've pushed and reset HEAD, testing the repo repo is just a matter of cloning it:
 
 <pre class="terminal">[tekkub@tekBook: ~/tmp] $ git clone git://github.com/tekkub/test.git
 Initialized empty Git repository in /Users/tekkub/tmp/test/.git/
-- 
cgit v1.3.1

