mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 23:06:14 -04:00
Merge f7256fb42a
into 07eea0f484
This commit is contained in:
commit
af19da380e
1 changed files with 27 additions and 0 deletions
|
@ -75,3 +75,30 @@ Renaming the local master branch to main
|
||||||
```shell
|
```shell
|
||||||
git branch -m master main
|
git branch -m master main
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Checking log graph
|
||||||
|
```shell
|
||||||
|
git log --graph
|
||||||
|
```
|
||||||
|
|
||||||
|
Checking log graph (merges only)
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git log --graph --merges
|
||||||
|
```
|
||||||
|
|
||||||
|
Tracking down a bad commit using binary search
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git bisect start
|
||||||
|
git bisect good 13c988d4f15e06bcdd0b0af290086a3079cdadb0
|
||||||
|
git bisect bad ca82a6dff817ec66f44342007202690a93763949
|
||||||
|
```
|
||||||
|
|
||||||
|
Pulling new changes into current branch from mainline
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git checkout [branch-name]
|
||||||
|
git fetch origin [master-branch-name]
|
||||||
|
git rebase origin/[master-branch-name]
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue