From 29222f3890385e7a53475680cf2569cbe764284d Mon Sep 17 00:00:00 2001 From: Tim Green Date: Sat, 12 Apr 2014 21:51:42 +0100 Subject: [PATCH] Merged Branches --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 9524e3b..6beb33a 100644 --- a/README.md +++ b/README.md @@ -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.