Home > Q&A > body text
Now that I know a commit-id, how can I get the branch name of that commit through this commit-id?
世界只因有你2017-05-02 09:33:16
git branch --contains <commmit_id>
滿天的星座2017-05-02 09:33:16
git branch --contains=abcdefeafeafe