From bbbde86e8d55e5cb530e2f7032366b5deb9bfe75 Mon Sep 17 00:00:00 2001 From: Nam Pham Date: Tue, 7 Jun 2016 10:42:27 +0700 Subject: [PATCH] Add: List all brach is WIP --- README.md | 6 ++++++ tips.json | 3 +++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 54919c6..2af0e2d 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`. * [Extract file from another branch.](#extract-file-from-another-branch) * [List only the root and merge commits.](#list-only-the-root-and-merge-commits) * [Merge previous two commits into one.](#merge-previous-two-commits-into-one) +* [List all branch is WIP](#list-all-branch-is-wip) @@ -697,5 +698,10 @@ git log --first-parent git rebase --interactive HEAD~2 ``` +## List all branch is WIP +```sh +git checkout master && git branch --no-merged +``` + diff --git a/tips.json b/tips.json index 9858c47..dfffb7a 100644 --- a/tips.json +++ b/tips.json @@ -311,4 +311,7 @@ }, { "title": "Merge previous two commits into one.", "tip": "git rebase --interactive HEAD~2" +}, { + "title": "List all branch is WIP", + "tip": "git checkout master && git branch --no-merged" }]