From 423b1e587bcccaf3364af1bf4fe20918e89e9f77 Mon Sep 17 00:00:00 2001 From: Sulaiman Kamara Date: Fri, 17 Jan 2025 01:45:20 +0000 Subject: [PATCH 1/6] Insert correct answer to 2 + 2 --- homework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homework.md b/homework.md index f7a8449..30b8a98 100644 --- a/homework.md +++ b/homework.md @@ -2,7 +2,7 @@ ## 1. What is 2 + 2? -5 +4 ## 2. What is JavaScript? From dac077ace4fca0a3748d5aa073e12cd5f9ff5251 Mon Sep 17 00:00:00 2001 From: Sulaiman Kamara Date: Fri, 17 Jan 2025 01:47:43 +0000 Subject: [PATCH 2/6] Insert correct answer to 'What is JavaScript' --- homework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homework.md b/homework.md index 30b8a98..1bb6187 100644 --- a/homework.md +++ b/homework.md @@ -6,7 +6,7 @@ ## 2. What is JavaScript? -An exciting new play about coffee. +JavaScript is the programming language that almost all applications that run on the web, use for their frontend. ## 3. What three problems does Git & GitHub solve? From 1d38d2ab86410cb70f796cd379dee2d027b2fbcc Mon Sep 17 00:00:00 2001 From: Sulaiman Kamara Date: Fri, 17 Jan 2025 01:56:40 +0000 Subject: [PATCH 3/6] Write 3 problems that Git/GitHub solves. --- homework.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homework.md b/homework.md index 1bb6187..92bec3b 100644 --- a/homework.md +++ b/homework.md @@ -10,7 +10,9 @@ JavaScript is the programming language that almost all applications that run on ## 3. What three problems does Git & GitHub solve? -When people want to show off code to each other they can put it on GitHub +- Save work - prevents you from losing your old work, and allows you to revert to older versions of your project (like Google Docs, or Word). Without it, it would be really difficult to save your work and manage different versions of your project. +- Branches - allows you to work on experimental features without affecting the bulk of your application. Without branches, you're prone to breaking your application, everytime you want to make a change. +- Showcase work - GitHub allows you to share your work with others, without a version control system, it is hard for others to see each change you've made in your project. ## 4. What happens when you `fork` a repository? From 85d2ae0b83fbf9062e99480b1589e76db5178c3f Mon Sep 17 00:00:00 2001 From: Sulaiman Kamara Date: Fri, 17 Jan 2025 02:00:34 +0000 Subject: [PATCH 4/6] Explain what happens when you fork a repository. --- homework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homework.md b/homework.md index 92bec3b..7bf3820 100644 --- a/homework.md +++ b/homework.md @@ -16,7 +16,7 @@ JavaScript is the programming language that almost all applications that run on ## 4. What happens when you `fork` a repository? -You delete it +Forking a repository means you are making a copy of a repository. Anything you do to a forked repository, doesn't effect the original repository, unless you merge your changes into it. ## 5. What happens when you clone a repository? From 5dd7f9a2a06fab02bcdb84ee9b26f60d11ed7e52 Mon Sep 17 00:00:00 2001 From: Sulaiman Kamara Date: Fri, 17 Jan 2025 02:02:39 +0000 Subject: [PATCH 5/6] Write answer to what happens when you clone a repository. --- homework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homework.md b/homework.md index 7bf3820..4dd73a1 100644 --- a/homework.md +++ b/homework.md @@ -20,7 +20,7 @@ Forking a repository means you are making a copy of a repository. Anything you d ## 5. What happens when you clone a repository? -It send it to a friend +When you clone a repository, you are adding it to the filesystem on your local machine. ## 6. What is a Pull Request? From cfe5b10d77d9a3ebce35639bc4474e9c65fdfff2 Mon Sep 17 00:00:00 2001 From: Sulaiman Kamara Date: Fri, 17 Jan 2025 02:04:17 +0000 Subject: [PATCH 6/6] Write answer to what is a pull request. --- homework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homework.md b/homework.md index 4dd73a1..ccd545d 100644 --- a/homework.md +++ b/homework.md @@ -24,4 +24,4 @@ When you clone a repository, you are adding it to the filesystem on your local m ## 6. What is a Pull Request? -When you send a file over the internet +A pull request is submitting what you believe to be finished work, to be reviewed and merged into production.