Github Desktop 已安装并正在运行。我已经下载了 Git LFS,并正在尝试将我的存储库和大文件同步到 Gitlab 服务器。但是,我收到以下错误并且不确定如何继续。
Alexanders-MBP:large-repo alexander$ git commit -m "add simplified_2011.geojson"
[master (root-commit) af76f48] add simplified_2011.geojson
2 files changed, 1 insertion(+)
create mode 100644 .gitattributes
create mode 100644 simplified_2011.geojson
Alexanders-MBP:large-repo alexander$ git lfs ls-files
f93b176e1d * simplified_2011.geojson
Alexanders-MBP:large-repo alexander$ 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.
看来我以某种方式跳过了以下步骤
git clone git@gitlab.example.com:group/project.git
设置说明中提供
但是当我尝试这个时,它也失败了......
Alexanders-MBP:large-repo alexander$ git clone git@gitlab.example.com:group/project.git
Cloning into 'project'...
ssh: Could not resolve hostname gitlab.example.com: nodename nor servname provided, or not known
fatal: Could not read from remote repository.
我怎样才能解决这个问题?