git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git pull works remotely but not locally

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
May 27, 2010, 15:15 UTC
Message-ID
<AANLkTimDOOjbCRJMOlW8sTEtiHdI4AqjdOcdFug7MD94@mail.gmail.com>
In-Reply-To
<4BFE8A99.5060906@llaisdy.com>
Hi,
>    /opt/libexec/git-core/git-pull: line 11: git-sh-setup: No such file or
> directory

You seem to be missing git-sh-setup (called `git-sh-setup.sh` in git.git), another shell script that's called by every other shell script in Git.

> As for reinstalling: unless something else is broken, I'm happy with "git
> fetch; git merge origin".  However, I should like to understand why git pull
> is not working.

A lot of other things won't work. `git rebase -i` for example is another shell script `git-rebase--interactive.sh`.

-- Ram
Previous: Ilari LiusvaaraNext: Ivan Uemlianin
Message 13 of 17 in “git pull works remotely but not locally”
  1. Ivan UemlianinMay 27, 2010
  2. Ramkumar RamachandraMay 27, 2010
  3. Ivan UemlianinMay 27, 2010
  4. Sverre RabbelierMay 27, 2010
  5. Ivan UemlianinMay 27, 2010
  6. Jeff KingMay 27, 2010
  7. Ivan UemlianinMay 27, 2010
  8. Johannes SixtMay 27, 2010
  9. Ivan UemlianinMay 27, 2010
  10. Jeff KingMay 27, 2010
  11. Ivan UemlianinMay 27, 2010
  12. Ilari LiusvaaraMay 27, 2010
  13. Ramkumar RamachandraMay 27, 2010
  14. Ivan UemlianinMay 27, 2010
  15. Johannes SixtMay 27, 2010
  16. Ivan UemlianinMay 28, 2010
  17. Ramkumar RamachandraMay 27, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.