Skip to content

UpmGitUrlCommand: Handle local git repos (file protocol) and tags #18

Description

@chrisyarbrough

https://docs.unity3d.com/6000.3/Documentation/Manual/upm-git.html#syntax

Unity supports adding git repos from files. Not a common use-case, but potentially something to let the command handle.

Ideally, we would check:

  • tag (but what if there are multiple?)
  • branch
  • revision

And handle the case where the git repo is just initialized and doesn't have any commits yet.
In theory, a git repo could also have no branches, but I'm not sure if Unity would even work with that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions