1.6 KiB
1.6 KiB
Git Assignment
1. What is Git and Version Control
- Git helps multiple people work on the same files without losing each other's changes or creating a mess.
- Four students writing a group essay where each person writes different sections, but sometimes they need to edit the same paragraphs.
- Email creates confusion with multiple file versions and lost work, while Git tracks every change and lets everyone work together safely.
2. Installing Git & Configuring User Info
- Initializing a Repository
- Working Directory, Staging, and Commits
--
- Adding & Committing Files
Git Log (oneline)
- Viewing Commit Logs & Diffs