You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You know a certain change made it onto the main branch. You'd like to know if
4
+
that changes has been integrated back into the development and staging
5
+
branches. If you have a specific git sha associated with that change, there is
6
+
a handy way to check.
7
+
8
+
```bash
9
+
$ git branch --contains 50e1151
10
+
```
11
+
12
+
The `--contains` flag of the
13
+
[`git-branch`](https://git-scm.com/docs/git-branch) command will list all
14
+
branches locally that contain the given commit sha.
15
+
16
+
If you don't see any output, then no branches have that sha. This means either there are remote changes that you need to pull down or you're looking at the wrong repo.
0 commit comments