Update GIT_ASSIGNMENT.md
This commit is contained in:
@ -7,21 +7,8 @@ Git lets us:Save snapshots (commits) of our work.Revert to older versions when m
|
|||||||
2. Real-life example of multiple people editing the same file
|
2. Real-life example of multiple people editing the same file
|
||||||
|
|
||||||
Imagine a school group project report where 3 friends are writing in MS Word.Person A adds introduction. Person B adds research. Person C fixes grammar.
|
Imagine a school group project report where 3 friends are writing in MS Word.Person A adds introduction. Person B adds research. Person C fixes grammar.
|
||||||
|
If they all edit separately and email files around, they’ll end up with many different versions: report_final.docx, report_final2.docx, report_revised_final.doc.With Git (or Google Docs), they can all work on the same file, track who wrote what, and merge changes properly.
|
||||||
If they all edit separately and email files around, they’ll end up with many different versions: report_final.docx, report_final2.docx, report_revised_final.docx 😅.
|
|
||||||
|
|
||||||
This is messy and confusing.
|
|
||||||
|
|
||||||
With Git (or Google Docs), they can all work on the same file, track who wrote what, and merge changes properly.
|
|
||||||
|
|
||||||
3. Why is version control better than emailing files back and forth?
|
3. Why is version control better than emailing files back and forth?
|
||||||
|
|
||||||
No duplicate files → Everything is in one central repository.
|
No duplicate files → Everything is in one central repository.Clear history → You can see every change with author and timestamp.Easy to undo → If someone makes a mistake, you can roll back to an earlier version.Parallel work → Multiple people can edit different parts without overwriting each other.Faster collaboration → No more “Which version is the latest?” confusion.
|
||||||
|
|
||||||
Clear history → You can see every change with author and timestamp.
|
|
||||||
|
|
||||||
Easy to undo → If someone makes a mistake, you can roll back to an earlier version.
|
|
||||||
|
|
||||||
Parallel work → Multiple people can edit different parts without overwriting each other.
|
|
||||||
|
|
||||||
Faster collaboration → No more “Which version is the latest?” confusion.
|
|
Reference in New Issue
Block a user