You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/07-git-tools/sections/debugging.asc
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
=== Debugging with Git
2
2
3
-
Git also provides a couple of tools to help you debug issues in your projects.
4
-
Because Git is designed to work with nearly any type of project, these tools are pretty generic, but they can often help you hunt for a bug or culprit when things go wrong.
3
+
In addition to being primarily for version control, Git also provides a couple commands to help you debug your source code projects.
4
+
Because Git is designed to handle nearly any type of content, these tools are pretty generic, but they can often help you hunt for a bug or culprit when things go wrong.
Notice that the first field is the partial SHA-1 of the commit that last modified that line.
35
-
The next two fields are values extracted from that commit – the author name and the authored date of that commit – so you can easily see who modified that line and when.
35
+
The next two fields are values extracted from that commit -- the author name and the authored date of that commit -- so you can easily see who modified that line and when.
36
36
After that come the line number and the content of the file.
37
37
Also note the `^1da177e4c3f4` commit lines, where the `^` prefix designates lines that were introduced in the repository's initial commit and have remained unchanged ever since.
38
38
This is a tad confusing, because now you’ve seen at least three different ways that Git uses the `^` to modify a commit SHA-1, but that is what it means here.
0 commit comments