Files
git-practice-ash/ASSIGNMENT-04-09-2025.md

26 lines
768 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Part 1: Viewing File History
![Screenshot](11g.png)
![Screenshot](22g.png)
![Screenshot](33g.png)
![Screenshot](44g.png)
Number of commits modifying example.txt: 3
Difference with -p: Shows the patch/diff along with commit metadata.
Part 2: Viewing File History with Blame
![Screenshot](b11.png)
git blame → shows commit, author, timestamp per line.
-L → restricts blame to specific line numbers (useful in large files).
-e → includes authors email.
Part 3: Merging Branches
![Screenshot](55gpng.png)
Git performed a 3-way merge because both master and feature/feature-1 had diverging commits on the same file (example.txt).
What does git log --graph --oneline --all show after the merge?
It shows the branching structure and how the merge happened: