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" }]