https://github.com/ssciwr/git-bisect-example
An example repository for the use of git-bisect
https://github.com/ssciwr/git-bisect-example
Last synced: about 2 months ago
JSON representation
An example repository for the use of git-bisect
- Host: GitHub
- URL: https://github.com/ssciwr/git-bisect-example
- Owner: ssciwr
- Created: 2024-03-22T13:35:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-21T13:16:20.000Z (over 1 year ago)
- Last Synced: 2025-03-02T17:01:55.188Z (8 months ago)
- Language: Python
- Size: 142 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git bisect demonstrator repository
This repository is used as a demonstrator repository for git bisect.
## Preparation
Before running below examples, please do the following:
```
./get-bisect-scripts.sh
```This is required because bisect scripts cannot be in the repository
itself - unless they are present on all commits under consideration.## Run the "application"
You can run the provided application with:
```
python app.py
```## Bisecting the repository
Your goal is to find the commit that introduced the obvious math issue:
```
git bisect start
git bisect good v1
git bisect bad HEAD
git bisect run ./test.sh
git bisect reset
```Alternatively, try `python perf.py` instead of `./test.sh`.
## License
This repository is provided under the CC-0 license.