我有一个文件要添加到 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"
Run Code Online (Sandbox Code Playgroud)
到这里一切都很好。我收到以下成功消息:
$ 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
Run Code Online (Sandbox Code Playgroud)
这给出了错误
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.
Run Code Online (Sandbox Code Playgroud)