error: Trying to write ref refs/heads/master with nonexistant object

From: Joel Thompson <hidden>
Date: 2016-06-15 22:56:46

Hi,

I can no longer clone my git repository from v1.7 client, i get error: Trying to write ref refs/heads/master with nonexistant object.

It is a remote repo that im using ssh to connect to, and i have done everything i can find on google from creating a new master branch, cleaning up the repo, removing dangling bits etc. etc.

So far I have come to the conclusion that while creating a tag on my v1.8 client in windows, something has happened which has stopped the repo from being compatible with v1.7 (as i am still able to clone it with 1.8).

The full message when trying to clone is:

Initialized empty Git repository in /home/jthompso/Downloads/mtsd/.git/
remote: Counting objects: 2464, done.
remote: Compressing objects: 100% (905/905), done.
remote: Total 2464 (delta 1201), reused 2446 (delta 1186)
Receiving objects: 100% (2464/2464), 652.66 KiB, done.
Resolving deltas: 100% (1201/1201), done.
error: refs/remotes/origin/master does not point to a valid object!
error: Trying to write ref refs/heads/master with nonexistant object fdf19005911f07e3246649f906e0d45fa9ff884f
fatal: Cannot update the ref 'HEAD'.

Regards,

Joel Thompson
I.T. Support Officer

Macquarie Textile Solutions
211 East St, Albury NSW 2640
www.macquarietextiles.com.au
T: +61 2 6043 0302 F: +61 2 6041 1321
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help