Re: fatal: bad revision 'HEAD'
- From
Jeff King <peff@peff.net>
- Date
- Aug 10, 2009, 01:18 UTC
- Message-ID
- <20090810011803.GA435@coredump.intra.peff.net>
- In-Reply-To
- <06DCECD0-45F0-4695-86D4-7C54EFE4E640@gmail.com>
On Sun, Aug 09, 2009 at 03:15:46PM -0600, Joel Mahoney wrote:
Show 8 quoted lines
> I am having trouble installing Ruby on Rails plugins from github. > when I run e.g. script/install plugin git://github.com/thoughtbot/ > paperclip.git I get: > > > Initialized empty Git repository in /path/to/my/project/vendor/ > plugins/paperclip/.git/ > > fatal: bad revision 'HEAD' > > refusing to pull with rebase: your working tree is not up-to-date
I can "git clone" that repository just fine. What is it exactly that installing a Rails plugin does with git? Can you try setting GIT_TRACE=1 in the environment and running your script to show us what git commands it is executing?
-Peff