1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-13 00:36:27 +00:00

Add: List all brach is WIP

This commit is contained in:
Nam Pham 2016-06-07 10:42:27 +07:00
parent 5ad64ad233
commit bbbde86e8d
2 changed files with 9 additions and 0 deletions

View File

@ -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)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -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
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

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