25 lines
505 B
Markdown
25 lines
505 B
Markdown
## Viewing File History
|
|
|
|
## 1. git log -- assignment.txt
|
|
|
|
|
|

|
|
|
|
## 2. git log -p -- assignment.txt
|
|
|
|

|
|
|
|

|
|
|
|
## 3. git log --oneline -- assignment.txt
|
|
|
|

|
|
|
|
## How many commits modified this file?
|
|
|
|
3 commits
|
|
|
|
## What differences do you see when adding the -p option?
|
|
|
|
Shows detailed changes for each commit in the file.
|
|
|