This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
Get Hash of latest commit #1034
Closed
Description
Thanks for the great work!
I am trying to receive the hash of the latest commit from a remote repository without cloning it. I already found out that this method exists: func (r *Remote) List(o *ListOptions) (rfs []*plumbing.Reference, err error)
. But my problem is that I am not able to create an *Remote
object because its fields are "hidden".
Can someone help me out please?