Updated the assignment
This commit is contained in:
@ -11,7 +11,6 @@ Real-life example where multiple people edit the same file:
|
||||
A school group project where everyone is writing different sections of a report in the same Word/Google Doc file. Each student edits parts of the document, and the changes need to be combined into one final version.
|
||||
|
||||
Why is version control better than emailing files back and forth?
|
||||
|
||||
With email, you end up with many copies of the same file (e.g., report_final.docx, report_final2.docx, report_really_final.docx), which is confusing.It’s easy to lose track of who made which changes.If two people edit the same section, you must manually merge them, which can cause mistakes.
|
||||
|
||||
Version control (like Git) keeps one central version of the file, records who made each change, and can automatically merge changes. This makes collaboration smoother, avoids confusion, and provides a history to undo mistakes if needed.
|
||||
@ -82,3 +81,22 @@ Version control (like Git) keeps one central version of the file, records who ma
|
||||
|
||||
---
|
||||
|
||||
## 7. Creating & Switching Branches
|
||||
|
||||
## Git Branch
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
## 8. Cloning a Remote Repository
|
||||
|
||||
## Git Branch
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
|
BIN
git_branch.png
Normal file
BIN
git_branch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
BIN
git_checkout.png
Normal file
BIN
git_checkout.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
git_checkout_switch.png
Normal file
BIN
git_checkout_switch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
git_clone.png
Normal file
BIN
git_clone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
git_new_branch.png
Normal file
BIN
git_new_branch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
Reference in New Issue
Block a user