fatal: C:\Program Files\Git/libexec/git-core/git-pull cannot be used without a working tree.

You might also see: git-pull cannot be used without a working tree

When executing a pull you see something like this:

1
fatal: C:\Program Files\Git/libexec/git-core/git-pull cannot be used without a working tree.

To Fix:

Check under:

1
\.git\config

Under the [CORE]

1
2
3
4
5
6
7
8
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
autocrlf = false
worktree = <<<<<< DELETE THIS LINE!!

One thought on “fatal: C:\Program Files\Git/libexec/git-core/git-pull cannot be used without a working tree.

  1. Have the same problem – and no such line under CORE.

    Windows XP Pro SP3.

    Git does not work.

    Tortoise Git CLONE works.

    Tortoise Git PULL does not work.

    Horrible system.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>