1
0
mirror of https://github.com/tiimgreen/github-cheat-sheet.git synced 2025-08-17 21:21:17 +02:00

Merged Branches

This commit is contained in:
Tim Green
2014-04-12 21:51:42 +01:00
parent 5ef4990771
commit 29222f3890

View File

@@ -219,3 +219,19 @@ Where `query` is the term you want to search, this then finds the last one and g
![git show :/query](http://i.imgur.com/SA0oZbE.png)
NOTE: Press `q` to quit.
## Merged Branches
```bash
$ git branch --merged
```
Will give you a list of all branches that have been merged into your current branch.
Conversely:
```bash
$ git branch --no-merged
```
Will give you a list of branches that have not been merged into your current branch.