{"id":19341621,"url":"https://github.com/wangsudo/good-book-pdf","last_synced_at":"2026-01-27T13:34:16.658Z","repository":{"id":217676994,"uuid":"185711506","full_name":"Wangsudo/good-book-pdf","owner":"Wangsudo","description":"好的技术书籍汇总","archived":false,"fork":false,"pushed_at":"2019-05-09T11:56:48.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-03T00:04:31.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wangsudo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-09T02:25:48.000Z","updated_at":"2019-05-09T11:56:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"9578edf0-c43d-4fb2-9b1e-668d3488860e","html_url":"https://github.com/Wangsudo/good-book-pdf","commit_stats":null,"previous_names":["wangsudo/good-book-pdf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Wangsudo/good-book-pdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wangsudo%2Fgood-book-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wangsudo%2Fgood-book-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wangsudo%2Fgood-book-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wangsudo%2Fgood-book-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wangsudo","download_url":"https://codeload.github.com/Wangsudo/good-book-pdf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wangsudo%2Fgood-book-pdf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28813539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T03:31:44.182Z","updated_at":"2026-01-27T13:34:16.642Z","avatar_url":"https://github.com/Wangsudo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# good-book-pdf\n\n好的技术书籍汇总\n\n# Github超过100M的大文件上传失败解决\n安装git - lfs到本机\n这里没有什么难度，根据官网安装就好。\n之后就是提交大文件的顺序，下面是官网的顺序：\n安装Git命令行扩展。只需要设置一次Git LFS。\n在项目目录下，执行以下命令：\n\n```\ngit lfs install\n```\n选择您希望Git LFS管理的文件类型（或直接编辑.gitattributes）。您可以随时配置其他文件扩展名。这一步成功后会生成一个gitattributes文件\n\n```\ngit lfs track “* .pdf” --这里的 “ *.pdf \"就是你要上传的大文件的路径\n```\n添加并commit gitattributes文件\n\n```\ngit add .gitattributes\n```\n然后再添加大文件到本地缓存区\n\n```\ngit add demo.pdf\ngit commit -m \"提交.pdf大文件\"\ngit push\n```\n\n**按照上述的方法，第一次上传大文件基本还是会报错，而且百思不得其解~**  \n\n**解决：** 出现上述问题，先reset 到你刚才commit的前一个commit,(意思就是撤销刚才的commit，回到起点再来一次。)\n第一、二步同上，第三步的时候，先将 .gitattributes文件，单独commit，然后push，完成之后，在进行第四部(第四部add 之后 执行git lfs ls-files应该能看见东西了)。\n到这里应该就没问题了。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangsudo%2Fgood-book-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangsudo%2Fgood-book-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangsudo%2Fgood-book-pdf/lists"}