You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.
The text was updated successfully, but these errors were encountered:
miltalex
changed the title
Error: object not found when git pull origin refs/tags/*
Error: object not found when git pull origin refs/tags/mytag
Oct 21, 2019
Are you using a shallow clone? If so shallow clones are broken (#1143). Even without shallow cloning, this can still happen on occasion. This appears related to #1151. Here's my error handling:
// plumbing.ErrObjectNotFound is a work around for https://github.com/src-d/go-git/issues/1151
if err != nil && err != git.NoErrAlreadyUpToDate && err != plumbing.ErrObjectNotFound {
return err
}
I hope this helps.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I get the
Error: object not found
when I try to git pull from a tag:Any help appreciated.
The text was updated successfully, but these errors were encountered: