- Mastering Git
- Jakub Nar?bski
- 219字
- 2021-07-09 19:37:29
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.
- INSTANT Mock Testing with PowerMock
- 大學計算機基礎實驗教程
- MATLAB圖像處理超級學習手冊
- 基于Java技術的Web應用開發
- Python零基礎快樂學習之旅(K12實戰訓練)
- 大模型RAG實戰:RAG原理、應用與系統構建
- 組態軟件技術與應用
- RISC-V體系結構編程與實踐(第2版)
- Unity 2D Game Development Cookbook
- Java網絡編程核心技術詳解(視頻微課版)
- Vue.js應用測試
- Learning Splunk Web Framework
- Ext JS 4 Plugin and Extension Development
- Getting Started with React VR
- 小學生C++趣味編程從入門到精通