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

GIT - error: no such remote ref refs/heads/TestBranch

From
SKSean Kelley <sean.v.kelley@gmail.com>
Date
Dec 19, 2006, 20:33 UTC
Message-ID
<89b129c60612191233s5a7f36f2hd409c4b9a2bbbc5c@mail.gmail.com>
Hi,

I was wondering if someone could help me. I had a branch on our remote GIT server called TestBranch. I logged into the Remote server and ran:

<from remote server> git branch -D TestBranch

But in my local clone:

kelleys@oifig:~/Work/kernel$ git pull origin kelleys@git.example.com's password: error: no such remote ref refs/heads/TestBranch Fetch failure: git+ssh://git.example.com/data/git/proj/kernel/mh.git kelleys@oifig:~/Work/kernel$

Any ideas how to correct this?
Next: Junio C Hamano
Message 1 of 22 in “GIT - error: no such remote ref refs/heads/TestBranch”
  1. Sean KelleyDec 19, 2006
  2. Junio C HamanoDec 19, 2006
  3. Carl WorthDec 20, 2006
  4. Junio C HamanoDec 20, 2006
  5. Carl WorthDec 20, 2006
  6. Junio C HamanoDec 20, 2006
  7. Carl WorthDec 21, 2006
  8. Peter BaumannDec 21, 2006
  9. Junio C HamanoDec 22, 2006
  10. Separating "add path to index" from "update content in index"Carl Worth, Dec 22, 2006
  11. SeanDec 22, 2006
  12. Nicolas PitreDec 22, 2006
  13. Carl WorthDec 22, 2006
  14. Nicolas PitreDec 23, 2006
  15. Daniel BarkalowDec 24, 2006
  16. Junio C HamanoDec 22, 2006
  17. Shawn PearceDec 22, 2006
  18. Jakub NarebskiDec 22, 2006
  19. Carl WorthDec 22, 2006
  20. Nicolas PitreDec 22, 2006
  21. Carl WorthDec 22, 2006
  22. Daniel BarkalowDec 23, 2006

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.