From 84d30528b97286c8df6114208b1ee8fee6d4e387 Mon Sep 17 00:00:00 2001 From: SafaFIMOUD <103506701+SafaFIMOUD@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:59:50 +0200 Subject: [PATCH 1/7] =?UTF-8?q?Create=20=E8=AF=BE=E7=A8=8B.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Translate to Chinese --- .../Chinese/\350\257\276\347\250\213.md" | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 "translations/Chinese/\350\257\276\347\250\213.md" diff --git "a/translations/Chinese/\350\257\276\347\250\213.md" "b/translations/Chinese/\350\257\276\347\250\213.md" new file mode 100644 index 0000000..a04a0f1 --- /dev/null +++ "b/translations/Chinese/\350\257\276\347\250\213.md" @@ -0,0 +1,49 @@ +# 欢迎来到使用Git课程! + +## 先决条件 + +您需要一些终端: + +- Windows用户可以使用带有WSL2的Windows终端。 +- Mac用户可以使用iTerm2。 +- Linux用户没问题,欢迎所有终端(甚至是xterm)。 +- Capi使用Kitty。 + +然后,请确保安装git: + +- Windows用户可以在WSL2终端中使用`apt install git`来安装Git。 +- Mac用户可能已经安装了Git,但`brew install git`会为您提供最新版本。 +- Linux用户在使用包管理器安装Git之前,应尝试`which git`。 + +## 实际课程 + +请使用`annotations`文件夹记录基于课程的笔记。您可以自行添加更多内容,随意进行注释!只需尝试将注释保存在正确的文件中,例如`annotations/01-notes.md`。 + +`lessons`文件夹包含了实际的幻灯片(除了介绍,介绍在`slides.md`中)。请随意编辑它们并发送拉取请求! + +`exports`文件夹包含了课堂上使用的幻灯片的PDF版本。它们可能几乎和注释一样简单,但无论如何都在那里。 + +`quizzes`文件夹包含了测验。评分表应该是测验的副本,但以Markdown格式回答。在查看评分表之前,请尝试一下测验,这样您会学到更多;) + +`recipes`文件夹包含了Git存储库示例的示例数据。 + +`suggestions`文件夹应该以Markdown格式保存建议。使用像`suggestions/commitizen.md`这样的文件来添加建议并解释为什么这是个好主意。 + +`translations`文件夹可以包含对幻灯片的翻译。确保路径与模式`translations/{fr}/{filename}.md`匹配。 + +## 所以您想要修改课程吗? + +很酷!您不必编辑幻灯片或生成幻灯片,但如果您想要: + +1. `npm install` +2. `npx slidev ./path/to/slide.md`将启动演示(按Ctrl+C退出)。 +3. 访问 http://localhost:3030 + +或者,运行`npx slidev export --dark ./path/to/slide.md`来生成任何演示的PDF! + +在 [文档](https://github.com/slidevjs/docs) 中了解更多关于Slidev的信息。 + +## 将您的更改贡献回来 + +分叉仓库,分支,然后发送拉取请求。尽量遵守commitizen规则 - 使用`npx git-cz`以友好的消息提交更改 :) + From ec28b5813ed024ca2c85dc12b1ea40c4359664a5 Mon Sep 17 00:00:00 2001 From: SafaFIMOUD <103506701+SafaFIMOUD@users.noreply.github.com> Date: Wed, 23 Aug 2023 19:08:13 +0200 Subject: [PATCH 2/7] Create Quiz-Basics .md Create Quize --- quizzes/Quiz-Basics .md | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 quizzes/Quiz-Basics .md diff --git a/quizzes/Quiz-Basics .md b/quizzes/Quiz-Basics .md new file mode 100644 index 0000000..ecb6f9a --- /dev/null +++ b/quizzes/Quiz-Basics .md @@ -0,0 +1,48 @@ +# Git Quiz + +These 5 Git quiz questions will test your knowledge on a variety of topics, including the use of basic Git commands. Good luck. These Git quiz questions aren't easy. + +## Question 1 + +1. What is the default text editor for the Bash shell with a Windows-based Git install? + + - [ ] Emacs + - [ ] Vim + - [ ] Notepad++ + - [ ] Bash + +## Question 2 + +2. Before you install Git, which of the following prerequisite products must be present and configured on your local OS? + + - [ ] Jakarta Enterprise Edition web profile compliant server + - [ ] Java Development Kit 1.8 or newer + - [ ] Apache Maven + - [ ] Nothing + +## Question 3 + +3. After you install Git and prior to issuing the first commit, which two configuration properties does the tool expect to be configured? + + - [ ] username and email address + - [ ] username and password + - [ ] email address and password + - [ ] username and IP address + +## Question 4 + +4. Which of the following is not a Git configuration scope? + + - [ ] Local + - [ ] User + - [ ] System + - [ ] Global + +## Question 5 + +5. Who is attributed with inventing Git? + + - [ ] Junio Hamano + - [ ] James Gosling + - [ ] Kohsuke Kawaguchi + - [ ] Linus Torvalds From b593fcd4b310d30a89b16825277cff7a94460c83 Mon Sep 17 00:00:00 2001 From: SafaFIMOUD <103506701+SafaFIMOUD@users.noreply.github.com> Date: Wed, 23 Aug 2023 19:12:38 +0200 Subject: [PATCH 3/7] Create Quiz-Basics.md Basic quiz --- quizzes/Quiz-Basics.md | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 quizzes/Quiz-Basics.md diff --git a/quizzes/Quiz-Basics.md b/quizzes/Quiz-Basics.md new file mode 100644 index 0000000..ecb6f9a --- /dev/null +++ b/quizzes/Quiz-Basics.md @@ -0,0 +1,48 @@ +# Git Quiz + +These 5 Git quiz questions will test your knowledge on a variety of topics, including the use of basic Git commands. Good luck. These Git quiz questions aren't easy. + +## Question 1 + +1. What is the default text editor for the Bash shell with a Windows-based Git install? + + - [ ] Emacs + - [ ] Vim + - [ ] Notepad++ + - [ ] Bash + +## Question 2 + +2. Before you install Git, which of the following prerequisite products must be present and configured on your local OS? + + - [ ] Jakarta Enterprise Edition web profile compliant server + - [ ] Java Development Kit 1.8 or newer + - [ ] Apache Maven + - [ ] Nothing + +## Question 3 + +3. After you install Git and prior to issuing the first commit, which two configuration properties does the tool expect to be configured? + + - [ ] username and email address + - [ ] username and password + - [ ] email address and password + - [ ] username and IP address + +## Question 4 + +4. Which of the following is not a Git configuration scope? + + - [ ] Local + - [ ] User + - [ ] System + - [ ] Global + +## Question 5 + +5. Who is attributed with inventing Git? + + - [ ] Junio Hamano + - [ ] James Gosling + - [ ] Kohsuke Kawaguchi + - [ ] Linus Torvalds From 93c62b4dcb2d6c8017f9cd2094a37481a63b03fb Mon Sep 17 00:00:00 2001 From: SafaFIMOUD <103506701+SafaFIMOUD@users.noreply.github.com> Date: Wed, 23 Aug 2023 23:45:22 +0200 Subject: [PATCH 4/7] =?UTF-8?q?Delete=20=E8=AF=BE=E7=A8=8B.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit delete the translation to Chinese --- .../Chinese/\350\257\276\347\250\213.md" | 49 ------------------- 1 file changed, 49 deletions(-) delete mode 100644 "translations/Chinese/\350\257\276\347\250\213.md" diff --git "a/translations/Chinese/\350\257\276\347\250\213.md" "b/translations/Chinese/\350\257\276\347\250\213.md" deleted file mode 100644 index a04a0f1..0000000 --- "a/translations/Chinese/\350\257\276\347\250\213.md" +++ /dev/null @@ -1,49 +0,0 @@ -# 欢迎来到使用Git课程! - -## 先决条件 - -您需要一些终端: - -- Windows用户可以使用带有WSL2的Windows终端。 -- Mac用户可以使用iTerm2。 -- Linux用户没问题,欢迎所有终端(甚至是xterm)。 -- Capi使用Kitty。 - -然后,请确保安装git: - -- Windows用户可以在WSL2终端中使用`apt install git`来安装Git。 -- Mac用户可能已经安装了Git,但`brew install git`会为您提供最新版本。 -- Linux用户在使用包管理器安装Git之前,应尝试`which git`。 - -## 实际课程 - -请使用`annotations`文件夹记录基于课程的笔记。您可以自行添加更多内容,随意进行注释!只需尝试将注释保存在正确的文件中,例如`annotations/01-notes.md`。 - -`lessons`文件夹包含了实际的幻灯片(除了介绍,介绍在`slides.md`中)。请随意编辑它们并发送拉取请求! - -`exports`文件夹包含了课堂上使用的幻灯片的PDF版本。它们可能几乎和注释一样简单,但无论如何都在那里。 - -`quizzes`文件夹包含了测验。评分表应该是测验的副本,但以Markdown格式回答。在查看评分表之前,请尝试一下测验,这样您会学到更多;) - -`recipes`文件夹包含了Git存储库示例的示例数据。 - -`suggestions`文件夹应该以Markdown格式保存建议。使用像`suggestions/commitizen.md`这样的文件来添加建议并解释为什么这是个好主意。 - -`translations`文件夹可以包含对幻灯片的翻译。确保路径与模式`translations/{fr}/{filename}.md`匹配。 - -## 所以您想要修改课程吗? - -很酷!您不必编辑幻灯片或生成幻灯片,但如果您想要: - -1. `npm install` -2. `npx slidev ./path/to/slide.md`将启动演示(按Ctrl+C退出)。 -3. 访问 http://localhost:3030 - -或者,运行`npx slidev export --dark ./path/to/slide.md`来生成任何演示的PDF! - -在 [文档](https://github.com/slidevjs/docs) 中了解更多关于Slidev的信息。 - -## 将您的更改贡献回来 - -分叉仓库,分支,然后发送拉取请求。尽量遵守commitizen规则 - 使用`npx git-cz`以友好的消息提交更改 :) - From 98aee3be4d024214e7f7aabab84d59b9ca8e95e7 Mon Sep 17 00:00:00 2001 From: SafaFIMOUD <103506701+SafaFIMOUD@users.noreply.github.com> Date: Wed, 23 Aug 2023 23:53:07 +0200 Subject: [PATCH 5/7] Delete Quiz-Basics .md duplicate file --- quizzes/Quiz-Basics .md | 48 ----------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 quizzes/Quiz-Basics .md diff --git a/quizzes/Quiz-Basics .md b/quizzes/Quiz-Basics .md deleted file mode 100644 index ecb6f9a..0000000 --- a/quizzes/Quiz-Basics .md +++ /dev/null @@ -1,48 +0,0 @@ -# Git Quiz - -These 5 Git quiz questions will test your knowledge on a variety of topics, including the use of basic Git commands. Good luck. These Git quiz questions aren't easy. - -## Question 1 - -1. What is the default text editor for the Bash shell with a Windows-based Git install? - - - [ ] Emacs - - [ ] Vim - - [ ] Notepad++ - - [ ] Bash - -## Question 2 - -2. Before you install Git, which of the following prerequisite products must be present and configured on your local OS? - - - [ ] Jakarta Enterprise Edition web profile compliant server - - [ ] Java Development Kit 1.8 or newer - - [ ] Apache Maven - - [ ] Nothing - -## Question 3 - -3. After you install Git and prior to issuing the first commit, which two configuration properties does the tool expect to be configured? - - - [ ] username and email address - - [ ] username and password - - [ ] email address and password - - [ ] username and IP address - -## Question 4 - -4. Which of the following is not a Git configuration scope? - - - [ ] Local - - [ ] User - - [ ] System - - [ ] Global - -## Question 5 - -5. Who is attributed with inventing Git? - - - [ ] Junio Hamano - - [ ] James Gosling - - [ ] Kohsuke Kawaguchi - - [ ] Linus Torvalds From 29b3f40a835004a195a490d924b5fee4ec7ece63 Mon Sep 17 00:00:00 2001 From: Capi Etheriel Date: Thu, 24 Aug 2023 06:09:16 -0300 Subject: [PATCH 6/7] i guess this was an accidental duplicate --- quizzes/Quiz-Basics .md | 48 ----------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 quizzes/Quiz-Basics .md diff --git a/quizzes/Quiz-Basics .md b/quizzes/Quiz-Basics .md deleted file mode 100644 index ecb6f9a..0000000 --- a/quizzes/Quiz-Basics .md +++ /dev/null @@ -1,48 +0,0 @@ -# Git Quiz - -These 5 Git quiz questions will test your knowledge on a variety of topics, including the use of basic Git commands. Good luck. These Git quiz questions aren't easy. - -## Question 1 - -1. What is the default text editor for the Bash shell with a Windows-based Git install? - - - [ ] Emacs - - [ ] Vim - - [ ] Notepad++ - - [ ] Bash - -## Question 2 - -2. Before you install Git, which of the following prerequisite products must be present and configured on your local OS? - - - [ ] Jakarta Enterprise Edition web profile compliant server - - [ ] Java Development Kit 1.8 or newer - - [ ] Apache Maven - - [ ] Nothing - -## Question 3 - -3. After you install Git and prior to issuing the first commit, which two configuration properties does the tool expect to be configured? - - - [ ] username and email address - - [ ] username and password - - [ ] email address and password - - [ ] username and IP address - -## Question 4 - -4. Which of the following is not a Git configuration scope? - - - [ ] Local - - [ ] User - - [ ] System - - [ ] Global - -## Question 5 - -5. Who is attributed with inventing Git? - - - [ ] Junio Hamano - - [ ] James Gosling - - [ ] Kohsuke Kawaguchi - - [ ] Linus Torvalds From 1228c7af0cc33b49efc44dc3c2bcc9b2e8c0c8f1 Mon Sep 17 00:00:00 2001 From: SafaFIMOUD <103506701+SafaFIMOUD@users.noreply.github.com> Date: Thu, 24 Aug 2023 13:26:05 +0200 Subject: [PATCH 7/7] Create Quiz-Basics-rubric.md Answers of the Quizz --- quizzes/Quiz-Basics-rubric.md | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 quizzes/Quiz-Basics-rubric.md diff --git a/quizzes/Quiz-Basics-rubric.md b/quizzes/Quiz-Basics-rubric.md new file mode 100644 index 0000000..0ffeedc --- /dev/null +++ b/quizzes/Quiz-Basics-rubric.md @@ -0,0 +1,48 @@ +# Git Quiz + +These 5 Git quiz questions will test your knowledge on a variety of topics, including the use of basic Git commands. Good luck. These Git quiz questions aren't easy. + +## Question 1 + +1. What is the default text editor for the Bash shell with a Windows-based Git install? + + - [ ] Emacs + - [x] Vim + - [ ] Notepad++ + - [ ] Bash + +## Question 2 + +2. Before you install Git, which of the following prerequisite products must be present and configured on your local OS? + + - [ ] Jakarta Enterprise Edition web profile compliant server + - [ ] Java Development Kit 1.8 or newer + - [ ] Apache Maven + - [x] Nothing + +## Question 3 + +3. After you install Git and prior to issuing the first commit, which two configuration properties does the tool expect to be configured? + + - [x] username and email address + - [ ] username and password + - [ ] email address and password + - [ ] username and IP address + +## Question 4 + +4. Which of the following is not a Git configuration scope? + + - [ ] Local + - [x] User + - [ ] System + - [ ] Global + +## Question 5 + +5. Who is attributed with inventing Git? + + - [ ] Junio Hamano + - [ ] James Gosling + - [ ] Kohsuke Kawaguchi + - [x] Linus Torvalds