File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
107
107
* [ Checkout a new branch without any history] ( #checkout-a-new-branch-without-any-history )
108
108
* [ Extract file from another branch.] ( #extract-file-from-another-branch )
109
109
* [ List only the root and merge commits.] ( #list-only-the-root-and-merge-commits )
110
- * [ Merge previous two commits into one .] ( #merge -previous-two-commits-into-one )
110
+ * [ Change previous two commits with an interactive rebase .] ( #change -previous-two-commits-with-an-interactive-rebase )
111
111
* [ List all branch is WIP] ( #list-all-branch-is-wip )
112
112
* [ Find guilty with binary search] ( #find-guilty-with-binary-search )
113
113
* [ Bypass pre-commit and commit-msg githooks] ( #bypass-pre-commit-and-commit-msg-githooks )
@@ -762,7 +762,7 @@ git show <branch_name>:<file_name>
762
762
git log --first-parent
763
763
```
764
764
765
- ## Merge previous two commits into one .
765
+ ## Change previous two commits with an interactive rebase .
766
766
``` sh
767
767
git rebase --interactive HEAD~2
768
768
```
Original file line number Diff line number Diff line change 325
325
"title" : " List only the root and merge commits." ,
326
326
"tip" : " git log --first-parent"
327
327
}, {
328
- "title" : " Merge previous two commits into one ." ,
328
+ "title" : " Change previous two commits with an interactive rebase ." ,
329
329
"tip" : " git rebase --interactive HEAD~2"
330
330
}, {
331
331
"title" : " List all branch is WIP" ,
You can’t perform that action at this time.
0 commit comments