mirror of
https://github.com/git-tips/tips.git
synced 2024-09-21 00:01:03 +02:00
commit
2e647b5ea9
|
@ -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)
|
||||
|
||||
<!-- Don’t 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
|
||||
```
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end -->
|
||||
|
|
Loading…
Reference in New Issue
Block a user