Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
# Set up a project with 8 commits: the price changes from 10 to 0 in Version 6 git init -q for i in 1 2 3 4 5 6 7 8; do echo "version = $i" > version.txt if [ $i -lt 6 ]; then echo "price = 10" > price.txt; else echo "price = 0" > price.txt; fi git add version.txt price.txt git commit -q -m "Version $i" done # Start bisecting: the current commit is bad, HEAD~7 (Version 1) is good git bisect start > /dev/null git bisect bad > /dev/null git bisect good HEAD~7 > /dev/null # Answer until Git finds the first bad commit git bisect good > /dev/null git bisect bad > /dev/null git bisect good > /dev/null git bisect reset
Previous HEAD position was 164895e Version 5
Switched to branch 'main'