<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Hacker的好奇 on OnionTalk</title><link>https://hateonion.me/zh/categories/hacker%E7%9A%84%E5%A5%BD%E5%A5%87/</link><description>Recent content in Hacker的好奇 on OnionTalk</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 21 Aug 2019 20:37:04 +0800</lastBuildDate><atom:link href="https://hateonion.me/zh/categories/hacker%E7%9A%84%E5%A5%BD%E5%A5%87/index.xml" rel="self" type="application/rss+xml"/><item><title>git中的二分查找– git bisect</title><link>https://hateonion.me/zh/posts/18dec24/</link><pubDate>Mon, 24 Dec 2018 13:45:00 +0800</pubDate><guid>https://hateonion.me/zh/posts/18dec24/</guid><description>二分查找是一种大家都熟悉的算法。这种算法由于套路非常的清晰，在程序开发中被广泛使用。很常见的一个例子就是使用二分查找去进行程序的debug，逐步缩小代码区间最终确定问题。循着这个思路，在多人合作的场景下，如果某次你pull代码之后发现某些代码不能工作了，你也可以通过二分查找的方式找出出问题的commit。而git bisect就是git内置的二分查找命令。</description></item></channel></rss>