Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpluscode/git-bisect-example
https://github.com/tpluscode/git-bisect-example
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tpluscode/git-bisect-example
- Owner: tpluscode
- Created: 2017-02-19T13:08:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-19T13:09:27.000Z (almost 8 years ago)
- Last Synced: 2024-10-24T10:06:40.995Z (2 months ago)
- Language: C#
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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/shdotnet build ./src/Kalkulator || exit 125
./src/Kalkulator/bin/Debug/netcoreapp1.0/win7-x64/Kalkulator.exe 3 - 3 | grep 0
```When done:
```
git bisect reset
```