Github Desktopがインストールされ、動作しています。私はGit LFSをダウンロードしていて、リポジトリと大きなファイルをGitlabサーバに同期しようとしています。ただし、次のエラーが表示され、処理方法が不明です。リポジトリと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.
私が
Alexanders-MBP:large-repo alexander$ git clone [email protected]: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.
...
setup instructions
で提供しかし、私はこれをしようとすると、それがまた失敗し、次のステップ
git clone [email protected]:group/project.git
を何とかスキップしているようです
どうすればこの問題を解決できますか?
この回答は間違っています。 ** repo **を削除して再クローンする必要もなく、本当にGitを再インストールするのは大変です!正解は、私が[私の答え](// stackoverflow.com/a/40391704/2747593)で言ったように、リモートを追加することです。 ** Flaggers/reviewers:** [この1つのような間違った答えについては、downvote、削除しないでください!](// meta.stackoverflow.com/q/287563/2747593) –
さらに、Gitは頭字語であるので、正しい大文字は "GIT"ではなく "GIT"です。 –
あなたの答えから: "また、URLのexample.comを見ると、それはあなたの特定の設定に合うようにURLをカスタマイズする必要があることを示しています。"私の答えは、「gitホストが正しく設定されていないというエラーです.gitlab.example.comを実際に使用しようとしている場合、動作しません」。私は何が間違っているかを知っていますが、明らかに最初のセットアップであることを見て、その人に[RTFM](https://nerddrivel.files.wordpress.com/2013/05/moses-rtfm.jpg)と指示は正しい答えとなる。 SOは "Teach me service"ではないし、Gitガイドが続く。 –