15 lines
750B

  1. Error: Git requires both a URL and a ref to clone
  2. #################################################
  3. This error occurs when attempting to add an entry to the package catalog that
  4. uses the ``Git`` acquisition method.
  5. When ``dds`` obtains a package from the catalog using the ``Git`` method, it
  6. needs a URL to clone from, and a Git ref to clone. ``dds`` uses a technique
  7. known as "shallow cloning," which requires a known Git reference to clone from.
  8. The reference may be a tag, branch, or an individual commit (Using a Git commit
  9. as the ``ref`` requires support from the remote Git server, and it is often
  10. unavailable in most setups). Using a Git tag is strongly recommended.
  11. .. seealso::
  12. Refer to the documentation on :doc:`/guide/remote-pkgs`.