git-clone-failure.rst 1022B

5 년 전
12345678910111213141516171819202122
  1. Error: A Git ``clone`` operation failed
  2. #######################################
  3. This error indicates that ``dds`` failed to clone a Git repository.
  4. ``dds`` will invoke ``git clone`` as a subprocess to retrieve a copy of a
  5. remote repository. There are several reasons this might fail, but it is best
  6. to refer to the output of the ``git`` subprocess to diagnose the issue.
  7. A non-exhaustive list of things to check:
  8. #. Is the ``git`` executable available and on the ``PATH`` environment variable?
  9. #. Is the URL to the repository correct?
  10. #. Is the remote server accessible?
  11. #. Do you have read-access to the repository in question?
  12. #. Does the named tag/branch exist in the remote?
  13. #. If cloning a specific Git revision, does the remote server support cloning
  14. a repository by a specific commit? (Very often Git servers are not
  15. configured to support this capability).
  16. Be aware if you are using SSH-style ``git-clone`` that it will require the
  17. correct SSH keys to be available on the system where ``dds`` is running.