![](/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.