---
title: "Discussion on \"How to find git branches which contain a specific commit\" | Hashnode"
description: "Discussion on \"How to find git branches which contain a specific commit\". I recently wanted to find out whether or not a specific commit was in a git branch. (The branch contained the code which was formed the most recent deployment to production, and I wanted to check whether or not the commit I was looking at had been de..."
url: "https://hashnode.com/posts/how-to-find-git-branches-which-contain-a-specific-commit/62acaf181a89c91850b1e1ab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to find git branches which contain a specific commit](https://techblog.timhilton.xyz/how-to-find-git-branches-which-contain-a-specific-commit?utm_source=hashnode&utm_medium=feed)

I recently wanted to find out whether or not a specific commit was in a git branch. (The branch contained the code which was formed the most recent deployment to production, and I wanted to check whether or not the commit I was looking at had been de...

Jun 17, 2022 · 1 min read · techblog.timhilton.xyz  
Read the article

-   [#git](https://hashnode.com/tag/git)

## Written by

[Tim Hilton](https://hashnode.com/@tjhilton)

@tjhilton

  
[View profile](https://hashnode.com/@tjhilton)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
