您的位置:首页 > 编程语言

随便写点关于我的github仓库

2017-11-26 00:18 309 查看
我的github仓库

说是我的github仓库,其实是不准确的,因为这是我和别人一起搞出来的,但是一开始这个仓库是我的仓库,后来有一天我转成了公共仓库。但是我还是喜欢叫我的仓库。

这个仓库是放很多学习资料的,问题在于这个仓库太大了,经常拉不下来。所以我一开始就开通了git-lfs,$5/month。

但是效果没有我想象那么好,于是我只能把一部分内容传到百度云盘上。

后来我发现还是不行,只能在原来的基础上继续拉。

git fetch --all
git reset --hard origin/master


但是出错了。

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x7070dc]

goroutine 45 [running]:
github.com/git-lfs/git-lfs/tq.(*basicDownloadAdapter).download(0xc042166020, 0xc04240c0c0, 0xc04239e040, 0xc04239c0a0, 0xc042166060, 0x1e0289, 0xaa5240, 0xc042054300, 0x0, 0x0)
C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/tq/basic_download.go:116 +0x40c
github.com/git-lfs/git-lfs/tq.(*basicDownloadAdapter).DoTransfer(0xc042166020, 0x0, 0x0, 0xc04240c0c0, 0xc04239e040, 0xc04239c0a0, 0xc04244f280, 0x80)
C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/tq/basic_download.go:49 +0xc3
github.com/git-lfs/git-lfs/tq.(*adapterBase).worker(0xc042054180, 0x0, 0x0, 0x0)
C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/tq/adapterbase.go:171 +0x5f9
created by github.com/git-lfs/git-lfs/tq.(*adapterBase).Begin
C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/tq/adapterbase.go:84 +0x338
error: external filter 'git-lfs filter-process' failed
fatal: XXXXXXXXXXXXXXXXX: smudge filter lfs failed


这时候我只能删掉出错的文件然后重复上面的操作,解决问题。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: