- Mastering Git
- Jakub Nar?bski
- 182字
- 2021-07-09 19:37:27
Chapter 2. Exploring Project History
One of the most important parts of mastering a version control system is exploring project history, making use of the fact that with version control systems we have an archive of every version that has ever existed. Here, the reader will learn how to select, filter, and view the range of revisions; how to refer to the revisions (revision selection); and how to find revisions using different criteria.
This chapter will introduce the concept of Directed Acyclic Graph (DAG) of revisions and explain how this concept relates to the ideas of branches, tags, and of the current branch in Git.
Here is the list of topics we will cover in this chapter:
- Revision selection
- Revision range selection, limiting history, history simplification
- Searching history with "pickaxe" tool and diff search
- Finding bugs with
git bisect
- Line-wise history of file contents with
git blame
, and rename detection - Selecting and formatting output (the
pretty
formats) - Summarizing contribution with shortlog
- Specifying canonical author name and e-mail with
.mailmap
- Viewing specific revision, diff output options, and viewing file at revision
推薦閱讀
- INSTANT OpenCV Starter
- Java面向對象軟件開發
- Offer來了:Java面試核心知識點精講(原理篇)
- FFmpeg入門詳解:音視頻流媒體播放器原理及應用
- 手把手教你學C語言
- MongoDB權威指南(第3版)
- Learning Hunk
- 自然語言處理Python進階
- Mastering Android Development with Kotlin
- R語言與網絡輿情處理
- CoffeeScript Application Development Cookbook
- PHP編程基礎與實踐教程
- Java 9 with JShell
- Redmine Cookbook
- Clojure High Performance Programming(Second Edition)