Skip to content

appi-github/bisect-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bisect-sample

Summary

A sample repository for git bisect.

How to use

evenodd.sh is a bash script which determines the parity of an argument.

Here are the expected behaviors.

$ ./evenodd.sh 1
odd

$ ./evenodd.sh 2
even

However, at a some point, it started to display even for any values.

$ ./evenodd.sh 1
even

$ ./evenodd.sh 2
even

You have to identify the commit that introduced the bug with git bisect.

Procedure

git branch root origin/root
git bisect start main root
git bisect run ./test.sh
git bisect reset

About

A sample repository for `git bisect`.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages