Skip to content

Commit 2d55c01

Browse files
authored
Update git-memo.content.md
Add additional git commands to git-memo.content.md
1 parent 2e56641 commit 2d55c01

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/tools/git-memo/git-memo.content.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,30 @@ Renaming the local master branch to main
7575
```shell
7676
git branch -m master main
7777
```
78+
79+
Checking log graph
80+
```shell
81+
git log --graph
82+
```
83+
84+
Checking log graph (merges only)
85+
86+
```shell
87+
git log --graph --merges
88+
```
89+
90+
Tracking down a bad commit using binary search
91+
92+
```shell
93+
git bisect start
94+
git bisect good 13c988d4f15e06bcdd0b0af290086a3079cdadb0
95+
git bisect bad ca82a6dff817ec66f44342007202690a93763949
96+
```
97+
98+
Pulling new changes into current branch from mainline
99+
100+
```shell
101+
git checkout [branchh-name]
102+
git fetch origin [master-branch-name]
103+
git rebase origin/[master-branch-name]
104+
```

0 commit comments

Comments
 (0)