官术网_书友最值得收藏!

Summary

This chapter showed us the various ways of exploring project history: finding relevant revisions, selecting and filtering revisions to display, and formatting the output.

We started with the description of the conceptual model of project history: the Directed Acyclic Graph (DAG) of revisions. Understanding this concept is very important because many selection tools refer directly or indirectly to the DAG.

Then, you learnt how to select a single revision and the range of revisions. We can use this knowledge to see what changes were made on a branch since its pergence from the base branch, and to find all the revisions which were made by the given developer.

We can even try to find bugs in the code by exploring the history: finding when a function was deleted from the code with a pickaxe search, examining a file for how its code came to be and who wrote it with git blame, and utilizing semi-automatic or automatic searches through the project history to find which version introduced regression with git bisect.

When examining a revision, we can select the format in which the information is shown, even to the point of user-defined formats. There are various ways of summarizing the information, from the statistics of the changed files to the statistics of the number of commits per author.

主站蜘蛛池模板: 惠安县| 武穴市| 常宁市| 荔浦县| 苗栗县| 勃利县| 黑河市| 四平市| 通州市| 郯城县| 沅江市| 兴业县| 清水河县| 砀山县| 昔阳县| 凤阳县| 高台县| 奉化市| 凤阳县| 浑源县| 罗城| 麟游县| 封丘县| 县级市| 柘城县| 正阳县| 肃南| 罗江县| 永年县| 永善县| 始兴县| 高邑县| 巴彦淖尔市| 巍山| 康定县| 绥棱县| 思茅市| 东城区| 句容市| 客服| 化德县|