Can I add a git release as a submodule?

I have binary files in a github release tag, which I think is not cloneable. In another git repo I’d like to add these binary files (they are like dependencies) as a submodule, so that they can get updated easily. I dont want to submit binaries to the first repository if possible.

How do I do this?

  • Git cherry-pick creates blobs not commits?
  • How to check out most recent git tag using Ansible?
  • How to control changes to tags in SVN server on Windows
  • How to list all tags along with the full message in git?
  • Git Publisher tagging earlier revision?
  • Cleanest way to checkout an earlier tag for read-only purposes in Git
  • How to create tag with forward slash in its name
  • How to properly create an SVN tag from trunk?
  • One Solution collect form web for “Can I add a git release as a submodule?”

    From what I understand, git releases are completely separate from a regular git repo, so your other git repo cannot directly reference them.

    All you could do is version a script able to get the releases from the first repo at the right tag, using the GitHub API for Releases.

    Git Baby is a git and github fan, let's start git clone.