Re: Confusing error message from "git pull" when upstream repo no longer exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 29, 2010 at 12:33 PM, Per Cederqvist <cederp@xxxxxxxxx> wrote:
> When running "git pull", I get this error message:
>
>    fatal: /usr/local/libexec/git-core/git-pull cannot be used without a
> working tree.

This error message is shown when you try to pull in a bare repository
(without a working tree). It seems you don't have a working tree, but
you have a repository, so you can still fetch. (the working tree check
is done before the fetch).

HTH,
Santi
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]