Skip to content

Commit 2e647b5

Browse files
committed
Merge pull request #59 from NamPNQ/patch-1
List all branch is WIP
2 parents 5ad64ad + bbbde86 commit 2e647b5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Diff for: README.md

+6
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
104104
* [Extract file from another branch.](#extract-file-from-another-branch)
105105
* [List only the root and merge commits.](#list-only-the-root-and-merge-commits)
106106
* [Merge previous two commits into one.](#merge-previous-two-commits-into-one)
107+
* [List all branch is WIP](#list-all-branch-is-wip)
107108

108109
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
109110
<!-- @doxie.inject end toc -->
@@ -697,5 +698,10 @@ git log --first-parent
697698
git rebase --interactive HEAD~2
698699
```
699700

701+
## List all branch is WIP
702+
```sh
703+
git checkout master && git branch --no-merged
704+
```
705+
700706
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
701707
<!-- @doxie.inject end -->

Diff for: tips.json

+3
Original file line numberDiff line numberDiff line change
@@ -311,4 +311,7 @@
311311
}, {
312312
"title": "Merge previous two commits into one.",
313313
"tip": "git rebase --interactive HEAD~2"
314+
}, {
315+
"title": "List all branch is WIP",
316+
"tip": "git checkout master && git branch --no-merged"
314317
}]

0 commit comments

Comments
 (0)