Hacker News new | past | comments | ask | show | jobs | submit login

The fair comparison is to just "git describe", no?



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?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: