我是新手git-lfs,以下是我配置并尝试推送的步骤git-lfs
git clone git@gitlab.example.com:group/project.git
将 tar.gz lfs 文件从不同的 repo 复制到我当前的 repo,然后
git lfs install
git lfs track "*.tar.gz"
git add .gitattributes
git commit -m "message"
Run Code Online (Sandbox Code Playgroud)
同时git push origin master:
我面临的错误:
(missing) code.tar.gz (f2b4bf22bcb011fef16f80532247665d15edbb9051***)
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s, done.
hint: Your push was rejected due to missing or corrupt local objects.
hint: You can disable this check with: 'git config lfs.allowincompletepush true'
error: failed to push some refs to 'git@gitlab.example.com:group/project.git' …Run Code Online (Sandbox Code Playgroud)