git.rst
changeset 2175 3977f49ae241
parent 2173 69aed373ceb9
child 2176 40c43e30c7fa
equal deleted inserted replaced
2174:8e8a16e1c5b3 2175:3977f49ae241
   320 
   320 
   321   $ git reset --hard "HEAD@{...}"
   321   $ git reset --hard "HEAD@{...}"
   322 
   322 
   323 https://stackoverflow.com/questions/134882/undoing-a-git-rebase
   323 https://stackoverflow.com/questions/134882/undoing-a-git-rebase
   324   Undoing git rebase.
   324   Undoing git rebase.
       
   325 
       
   326 Git bisect
       
   327 ==========
       
   328 
       
   329 ``bad`` changes should be later in graph history then ``good`` ones.
       
   330 
       
   331 Start bisecting with::
       
   332 
       
   333   $ git bisect start
       
   334 
       
   335 Mark good and bad revisions::
       
   336 
       
   337   $ git co vBAD
       
   338   $ make test
       
   339   $ git bisect bad
       
   340 
       
   341   $ git co vGOOD
       
   342   $ make test
       
   343   $ git bisect good
       
   344 
       
   345 
       
   346 If build/test failed to complete use::
       
   347 
       
   348   $ git bisect skip
       
   349 
       
   350 To restore mistakenly marked revisions::
       
   351 
       
   352   $ git bisect log >$LOG
       
   353   $ git bisect reset
       
   354   $ $EDITOR $LOG
       
   355   $ git bisect replay $LOG
   325 
   356 
   326 Debug git network operation
   357 Debug git network operation
   327 ===========================
   358 ===========================
   328 
   359 
   329 Git uses libcurl for network operation::
   360 Git uses libcurl for network operation::