Julia Evans on Nostr: if I have a commit ID in git, does anyone know if there's a single git command that ...
if I have a commit ID in git, does anyone know if there's a single git command that will tell me which tag(s)/branch(es)/remote-tracking branch(es) that commit corresponds to?
it's not:
- git describe
- git branch --contains
the only thing I can find is `git show --no-patch --format='%d' COMMIT_ID` but that's kind of a mouthful, and also it's formatted in kind of a weird way
it's not:
- git describe
- git branch --contains
the only thing I can find is `git show --no-patch --format='%d' COMMIT_ID` but that's kind of a mouthful, and also it's formatted in kind of a weird way