Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9245785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:20:33+00:00 2026-06-18T09:20:33+00:00

I am trying to pull (I also get the same problem with fetch) to

  • 0

I am trying to pull (I also get the same problem with fetch) to a specific tag on a remote branch. I am trying to run:

 git pull origin v0.0.2.1

Where v0.0.2.1 is the name of my tag. I get this error message:

fatal: Couldn't find remote ref v0.0.2.1
fatal: The remote end hung up unexpectedly

I get the same error message if I replace “v0.0.2.1” with the hash for that tag or the hash for the commit the tag refers to.

I have checked that the remote does actually have this tag and this commit (in fact I can successfully run the above commands on a different machine that has this repository). I checked that the .git/config files are the same on both of these machines.

The following still works:

 git pull origin HEAD

Also, I used

git ls-remote origin

And I get the following (among other things):

016d51475640e738b24cce2fb4019649ed81fa6b    refs/tags/v0.0.2.1

Does anyone know what is going on?

I have found a workaround:
The following works:

 git pull origin refs/tags/v0.0.2.1

This works for my task, but I would really like to understand more about why this works and the other approach doesn’t. If anyone can provide an explanation that would be awesome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:20:35+00:00Added an answer on June 18, 2026 at 9:20 am

    When reading the changelogs of git‘s version 1.7.0 to 1.7.9 we can find several entries which might lead to the explanation. The way ref-lookups are done on the remote-side has changed (to speed up things).

    This can explain why version 1.7.0 needs refs/tags/<tagname> for fetching and 1.7.10 doesn’t.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to pull some data out of logs on remote machines using awk,
I am trying to pull a specific set of records from a table called
I'm trying to pull a project from git, in particular, this one: https://github.com/pocmo/Yaaic .
Ive got a database that Im trying to pull data from (the name of
I am trying to get the hang of git. We have a main git
I'm trying to pull out the strings: [{name:John Doe Jr.},{name2:John Doe}] & {name:John Doe}
So I'm trying to pull just the name of a certain images with the
I am trying to pull posts from a specific month that has been clicked
I am trying pull a field out of a string and return it. My
Just trying to pull off some SMART info from connected Hard Drives on any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.