gogs/git

no way to get symbolic references

rogpeppe opened this issue · 0 comments

It would be nice to have some mechanism for resolving
symbolic ref names such as "HEAD" or "origin".

AFAICS the only way currently is to open the relevant
files in git to find the commit numbers.

But perhaps I've missed something and there is. If so,
perhaps better docs might help.

Ideally it would be great to have a function that
could resolve all of the various syntax described in
gitrevisions(7).