Added images for Viewing File History
This commit is contained in:
23
ASSIGNMENT-04-09-2025.md
Normal file
23
ASSIGNMENT-04-09-2025.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## 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.
|
||||||
BIN
git log -- filename.png
Normal file
BIN
git log -- filename.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
BIN
git log --oneline -- filename.png
Normal file
BIN
git log --oneline -- filename.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
git log -p -- filename 1.png
Normal file
BIN
git log -p -- filename 1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 51 KiB |
BIN
git log -p -- filename.png
Normal file
BIN
git log -p -- filename.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
Reference in New Issue
Block a user