Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kazinator
on July 23, 2014
|
parent
|
context
|
favorite
| on:
Tracking down a kernel bug with git bisect
No: you would cherry pick the change needed to bring in the test code, run the test and decide whether it is "good" or "bad". Then before running "git bisect good/bad" you would eliminate the cherry-picked change with "git reset --hard HEAD^".
CUViper
on July 23, 2014
[–]
You can also "git cherry-pick -n" to only apply it to the working directory, with no commit, and then "git checkout -f" is an easy cleanup.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: