On Fri, Apr 26, 2019 at 12:32:51PM -0700, Bryan Turner wrote:
> > $ git ls-remote -n1 --tags --sort=v:refname origin "v*"
> [...]
> With the v2 wire protocol, the client could provide a prefix (like
> `refs/tags/`, or potentially `refs/tags/v`) to reduce what the server
> included in the r
On Fri, Apr 26, 2019 at 11:57 AM David Carson
wrote:
>
> Given that 'ls-remote' can be sorted, it would be useful to be able to ask
> for a subset of the total number of result records.
>
> For example, if I want to retrieve only the tag with the highest version, I
> would do so by adding this n
Given that 'ls-remote' can be sorted, it would be useful to be able to ask for
a subset of the total number of result records.
For example, if I want to retrieve only the tag with the highest version, I
would do so by adding this new option (-n1 in my example):
$ git ls-remote -n1 --tag
3 matches
Mail list logo