Hi, I’d like to know what’s the “idiomatic way” to know the branch(es) that contains the commit I’m on, ie:
git branch --contains <commit_hash> -a or
git tag --contains <commit_hash>, is there any shortcut to figure out that type of information?
Or asked differently, let’s say I’ve found a commit after using the search dialog… how do i know which branch owns this commit straightaway so i can create a local branch? (I don’t mean create a local branch from that particular commit but for the particular branch that contains it)
Thanks in advance