Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tpluscode/git-bisect-example


https://github.com/tpluscode/git-bisect-example

Last synced: 6 days ago
JSON representation

Awesome Lists containing this project

README

        

# Example of `git bisect`

Manually:

```
git bisect start
git bisect bad
git bisect good 6ad9aad

// build
// run Kalkulator.exe 3 - 3

// should return 0, buggy builds return 6
git bisect good/bad
```

Automatic:

```
git bisect start HEAD 6ad9aad
git bisect run ../bisect.sh
```

`bisect.sh`:

``` sh
#!/bin/sh

dotnet build ./src/Kalkulator || exit 125

./src/Kalkulator/bin/Debug/netcoreapp1.0/win7-x64/Kalkulator.exe 3 - 3 | grep 0
```

When done:

```
git bisect reset
```