![](/img/trans.png)
[英]Remote "origin" does not support the LFS locking API //trying to upload model.h5 file in github which is more than 100mb using lfs
[英]Upload file > 25 MB on Github
我有一个要添加到 Github 的文件。 它的大小超过 github 的 25 MB 限制。 它是一个 csv 文件。 如何将其上传到 Github。
到现在为止的步骤
$ cd path_of_directory
$ git lfs install
$ git lfs track "*.csv"
$ git add Filename.csv
$ git commit -m "Filename.csv"
到这里一切都很好。 我收到以下成功消息:
$ git commit -m 'FileName.csv'
[master (root-commit) 3f089ff] FileName.csv
1 file changed, 3 insertions(+)
create mode 100644 Downloads/Folder_of_file/FileName.csv
$ git push origin master
这给出了错误
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.