From ed2dd43e0f364e0dacf51805b676db35c94d579f Mon Sep 17 00:00:00 2001 From: Messie4 Date: Mon, 19 May 2025 21:14:40 +0100 Subject: [PATCH 1/5] Add files via upload --- git homework.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 git homework.md diff --git a/git homework.md b/git homework.md new file mode 100644 index 00000000..f7a8449a --- /dev/null +++ b/git homework.md @@ -0,0 +1,25 @@ +# Linus's Homework + +## 1. What is 2 + 2? + +5 + +## 2. What is JavaScript? + +An exciting new play about coffee. + +## 3. What three problems does Git & GitHub solve? + +When people want to show off code to each other they can put it on GitHub + +## 4. What happens when you `fork` a repository? + +You delete it + +## 5. What happens when you clone a repository? + +It send it to a friend + +## 6. What is a Pull Request? + +When you send a file over the internet From a44635c3bcd1e19121a597d3841148e0803fd287 Mon Sep 17 00:00:00 2001 From: Messie4 Date: Mon, 19 May 2025 21:51:02 +0100 Subject: [PATCH 2/5] Update git homework.md --- git homework.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/git homework.md b/git homework.md index f7a8449a..ec794e8d 100644 --- a/git homework.md +++ b/git homework.md @@ -2,24 +2,22 @@ ## 1. What is 2 + 2? -5 + 4 ## 2. What is JavaScript? -An exciting new play about coffee. + an object-oriented computer programming language commonly used to creat interactive effects within web browsers. ## 3. What three problems does Git & GitHub solve? -When people want to show off code to each other they can put it on GitHub + Enabling collaboration,Versioncotrol, and streamlined workflows. ## 4. What happens when you `fork` a repository? - -You delete it - + forking a repository means you can make any changes you want to the code without affecting the original project. ## 5. What happens when you clone a repository? - -It send it to a friend + Cloning a repository pulls down a full copy of all the repository that GitHub.com has at that piont in time,including all versions of every file + and folder for the project. ## 6. What is a Pull Request? -When you send a file over the internet + A pull request is a proposal to merge a set of changes from one branch into another. From 67d471c9d2bf1b906c51854a1aa248c1607c4ecb Mon Sep 17 00:00:00 2001 From: Messie4 Date: Mon, 19 May 2025 21:53:25 +0100 Subject: [PATCH 3/5] Update git homework.md --- git homework.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git homework.md b/git homework.md index ec794e8d..3a61deb5 100644 --- a/git homework.md +++ b/git homework.md @@ -6,16 +6,16 @@ ## 2. What is JavaScript? - an object-oriented computer programming language commonly used to creat interactive effects within web browsers. + An object-oriented computer programming language commonly used to creat interactive effects within web browsers. ## 3. What three problems does Git & GitHub solve? - Enabling collaboration,Versioncotrol, and streamlined workflows. + Enabling collaboration, Version control, and streamlined workflows. ## 4. What happens when you `fork` a repository? forking a repository means you can make any changes you want to the code without affecting the original project. ## 5. What happens when you clone a repository? - Cloning a repository pulls down a full copy of all the repository that GitHub.com has at that piont in time,including all versions of every file + Cloning a repository pulls down a full copy of all the repository that GitHub.com has at that point in time,including all versions of every file and folder for the project. ## 6. What is a Pull Request? From 3c2676e2717a6bf838872179bc0ed791545322c5 Mon Sep 17 00:00:00 2001 From: Messie4 Date: Tue, 20 May 2025 19:42:49 +0100 Subject: [PATCH 4/5] Update git homework.md i have added back the original answer --- git homework.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/git homework.md b/git homework.md index 3a61deb5..6f58aa2c 100644 --- a/git homework.md +++ b/git homework.md @@ -1,23 +1,27 @@ # Linus's Homework ## 1. What is 2 + 2? - + 5 4 ## 2. What is JavaScript? - + An exciting new play about coffee. An object-oriented computer programming language commonly used to creat interactive effects within web browsers. ## 3. What three problems does Git & GitHub solve? - + When people want to show off code to each other they can put it on GitHub Enabling collaboration, Version control, and streamlined workflows. ## 4. What happens when you `fork` a repository? + You delete it forking a repository means you can make any changes you want to the code without affecting the original project. ## 5. What happens when you clone a repository? + It send it to a friend + Cloning a repository pulls down a full copy of all the repository that GitHub.com has at that point in time,including all versions of every file and folder for the project. ## 6. What is a Pull Request? + When you send a file over the internet A pull request is a proposal to merge a set of changes from one branch into another. From d7097ef4a5b29da31afa38e9abb5d1c5537442fc Mon Sep 17 00:00:00 2001 From: Messie4 Date: Tue, 20 May 2025 19:45:08 +0100 Subject: [PATCH 5/5] Update git homework.md fixed the Errors by deleting the wrong answers. --- git homework.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/git homework.md b/git homework.md index 6f58aa2c..77ba3aea 100644 --- a/git homework.md +++ b/git homework.md @@ -1,27 +1,26 @@ # Linus's Homework ## 1. What is 2 + 2? - 5 + 4 ## 2. What is JavaScript? - An exciting new play about coffee. + An object-oriented computer programming language commonly used to creat interactive effects within web browsers. ## 3. What three problems does Git & GitHub solve? - When people want to show off code to each other they can put it on GitHub + Enabling collaboration, Version control, and streamlined workflows. ## 4. What happens when you `fork` a repository? - You delete it + forking a repository means you can make any changes you want to the code without affecting the original project. ## 5. What happens when you clone a repository? - It send it to a friend + Cloning a repository pulls down a full copy of all the repository that GitHub.com has at that point in time,including all versions of every file and folder for the project. ## 6. What is a Pull Request? - When you send a file over the internet A pull request is a proposal to merge a set of changes from one branch into another.