News for hackers. Stuff that matters.
Re:Visual and interactive way to learn Git by juped on Friday September 25, 2020 @01:13PM (#24591930)
The fair comparison is to just "git describe", no?
Re:Visual and interactive way to learn Git by throwaway287391 on Friday September 25, 2020 @01:20PM (#24592008)
TBH I'm not sure I'd ever heard of "describe" -- I'd always used rev-parse to get a commit ID. But now that I'm trying it, it gives me a branch/tag name rather than a commit ID (either bare "git describe" or with the other arguments mentioned above). So...not really sure?
Re:Visual and interactive way to learn Git by juped on Friday September 25, 2020 @02:41PM (#24592842)
It depends on what exactly you're looking for, I guess. There's a million ways to parse HEAD into a hash, if that's what you're after.