You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
I can successfully clone a project directly with it's annotated tag.
What I'm trying to do is fetch updates and then checkout the annotated tag, the tag gets reapplied to newer commits. I'm trying to use hardReset to checkout to the tag commit but for annotated tags I need a way to get at the real commit.
somewhat related to #954 and #772
I can successfully clone a project directly with it's annotated tag.
What I'm trying to do is fetch updates and then checkout the annotated tag, the tag gets reapplied to newer commits. I'm trying to use hardReset to checkout to the tag commit but for annotated tags I need a way to get at the real commit.
see code here that works for branches and lite tags - https://github.com/mumblez/gwg/blob/fb3579a765257ef8af21b4211f3675160654df0a/main.go#L204
but the reset fails for annotated tags, I'm guessing I have to add some steps to:
I may be going about this wrong so definately up for suggestions, but if you can help with the above steps that would be much appreciated.
The text was updated successfully, but these errors were encountered: