diff --git a/README.md b/README.md index e2fecb7..78d5363 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,235 @@ -# educoder-tutorial +# 头歌平台使用教程 +在浏览器中搜索“git”,点击git官网。 + +![image](assets/image-20250924083248-8hncgq7.png) + +直接点击默认下载按钮`Download for Windows`。 + +![image](assets/image-20250924083549-hq3lfzh.png) + +下载完后直接安装,一直点`Next`就行(安装步骤略)。 + +在桌面右键,如果能看到`Open Git GUI here`及`Open Git Bash here`则说明安装成功。或者点击`在终端中打开`。 + +![image](assets/image-20250924083727-ukrcz09.png) + +输入`git -v`,回车。 + +![image](assets/image-20250924084108-f1od64k.png)​ + +如果能正确显示git版本号,则说明安装成功。 + +![image](assets/image-20250924084128-865fvo1.png)​ + +关闭终端窗口。 + +浏览器进入`https://www.educoder.net`。点击右上角`注册`。 + +![image](assets/image-20250924075120-o10yjqh.png) + +点击`免费注册`。 + +![image](assets/image-20250924075351-8417f64.png) + +输入`邮箱`,点击`获取验证码`,输入验证码,设置密码(密码后面会用到),点击`注册并登录`。 + +![image](assets/image-20250924075526-rghydlk.png) + +选择角色`我是学生`。 + +![image](assets/image-20250924080118-ln1qx1l.png) + +点击`开始使用`。 + +![image](assets/image-20250924080215-rai15ox.png) + +点击导航栏右侧的`⊕`。 + +![image](assets/image-20250924080338-mv8zoej.png) + +点击`加入教学课堂`。 + +![image](assets/image-20250924080538-t1844jq.png)​ + +输入真实的姓名,职业选学生。 + +![image](assets/image-20250924080622-9tota2v.png) + +输入真实的学号、学校名称(姓名和学号一定要真实,这涉及到期末评分)。点击`确定`。 + +![image](assets/image-20250924080955-p07bgzx.png)​ + +输入教师提供的邀请码,身份默认学生,点击`确定`。 + +![image](assets/image-20250924081254-ztmkwtx.png) + +进入课堂后,点击左侧的`分组作业`,再点击右侧作业列表“提交中”的作业。 + +![image](assets/image-20250924082009-xt8l9w2.png) + +点击`创建分组`。 + +![image](assets/image-20250924082220-4uti6xo.png) + +直接点击`确定`。 + +![image](assets/image-20250924082308-pjpvdpn.png) + +点击`创建项目`。 + +![image](assets/image-20250924082344-v2ywbm1.png) + +根据提示绑定邮箱。 + +![image](assets/image-20250924082620-2v18vg5.png) + +项目名称填中文,项目标识填英文,勾选`将项目设为私有`,点击`创建项目`。 + +![image](assets/image-20250924082817-hb6887r.png) + +创建好项目后,立即回到分组作业中,进行作业与项目的关联。 + +![image](assets/image-20250924103116-bi8zg6h.png) + +选中刚刚创建的项目,点击`确定`。 + +![image](assets/image-20250924103218-5zgemxn.png) + +创建项目完成后,一定要及时关联项目,避免忘记。(不关联的话,教师看不到项目) + +当下一次想进入该项目时,通过作业页面的`作品列表`即可进入。 + +![image](assets/image-20250924104053-27gqx43.png) + +回到浏览器中的项目页面,点击下载,再点击链接旁的“复制”图标。 + +![image](assets/image-20250924084552-mpnkipo.png) + +在桌面右键打开终端(或在桌面右键然后`Open Git Bash here`)。输入`git clone 粘贴你刚刚复制的链接`,然后回车。 + +![image](assets/image-20250924084840-fa19tp5.png) + +此时会跳出一个弹窗。Username填写前文中绑定的邮箱或用户标识,密码就是头歌平台的密码(注意不是邮箱密码)。 + +![image](assets/image-20250924085034-dibz4sq.png)​ + +用户标识这样来获取,找到浏览器项目页面的地址栏,用户标识就在链接当中。 + +![image](assets/image-20250924085500-22rttdf.png) + +显示`done`就说明clone完成。关闭终端。 + +![image](assets/image-20250924085625-78f6hhz.png) + +回到桌面可以发现多出了一个新文件夹,该文件夹里的内容后面会用到。 + +![image](assets/image-20250924085719-17kbd0b.png) + +打开微信开发者工具,点击`+`新建项目。 + +![image](assets/image-20250924090033-j9q35hc.png)​ + +正常创建项目,项目名称填中文,目录文件夹的名称可自定义,AppID选`测试号`即可,点击`不使用云服务`,模板选`JS-基础模版`,点击`创建`。(提示:只有目录为空文件夹或新文件夹时,才能选择模板) + +![image](assets/image-20250924091526-q9b6w2t.png) + +在资源管理器栏的空白位置右键,点击`在资源管理器中显示`。 + +![image](assets/image-20250924091607-1wonbm7.png) + +进入该项目文件夹。 + +![image](assets/image-20250924091823-5jetzme.png) + +![image](assets/image-20250924091911-fvublmd.png) + +同样打开桌面上的新文件夹,点击`查看`->`显示`,勾选`隐藏的项目`。 + +![image](assets/image-20250924092206-d0j45tq.png) + +将`.git`和`README.md`复制到项目文件夹中去。 + +![image](assets/image-20250924092435-p43qby1.png) + +复制完成后删除桌面上的文件夹。 + +完成项目的开发(过程略)。 + +对项目进行截图。Win11系统的截图快捷键是`Win+Shift+S`。 + +截图完成后,点击屏幕右下角的时间,然后点击通知中的`屏幕截图已复制到剪贴板`。 + +![image](assets/image-20251011073731-e1pnpl9.png)​ + +点击`另存为`按钮。 + +![image](assets/image-20251011074234-b8y4lii.png) + +将截图保存至项目根目录。注意截图的文件名不要包含空格和特殊字符。 + +![image](assets/image-20251011074435-1tieurl.png) + +在资源管理器中打开项目根目录。右键`README.md`文件->`打开方式`->`Visual Studio Code`。 + +![image](assets/image-20251011080630-wpapnng.png) + +点击`Open Preview to the Side`。 + +![image](assets/image-20251011081043-eymhxh1.png) + +在左侧的编辑区按照markdown语法填写项目的介绍,并附上截图。保存。 + +![image](assets/image-20251011081444-a6wdisp.png) + +在项目根文件夹的空白处右键,打开终端。 + +![image](assets/image-20251011065433-y3en03x.png) + +输入`git add .`以添加根目录下所有文件及文件夹。回车。不用在意`warning`。 + +![image](assets/image-20251011065619-9gmydj0.png) + +输入`git commit -m '本次修改内容'`(单引号内的内容根据实际情况自行修改),回车。 + +![image](assets/image-20251011070900-wcwfrwe.png) + +如果是第一次使用git的话,就会像上图这样显示。根据提示,我们依次执行 + +​`git config --global user.email "你的邮箱"`(引号内填写你头歌平台所绑定的邮箱) + +​`git config --global user.name "你的名字"`(引号内填写你姓名的拼音即可) + +![image](assets/image-20251011071345-nqjmxh9.png) + +然后执行之前没有完成的`git commit -m '本次修改内容'`。(提示:这里可以通过方向键切换历史命令) + +![image](assets/image-20251011071716-av47bqa.png) + +接着执行`git push`。若存在冲突,可尝试强制推送`git push -f`。这一步注意保证网络连接。 + +![image](assets/image-20251011072021-9v4h60z.png) + +显示成上图这样,就说明推送成功。 + +回到浏览器,打开项目页面,刷新。确保服务器已收到本次推送。 + +![image](assets/image-20251011082203-rtsrlp8.png) + +最后一步。检查无误后,回到作业页面,点击`提交作品`。 + +![image](assets/image-20251011082457-03ovtgs.png) + +在必填项`内容`处填写任意内容。无需附件。 + +![image](assets/image-20251011082615-zvhhjwh.png) + +拖动滚动条到底部,点击`提交`。 + +![image](assets/image-20251011082725-e4m7shw.png) + +跳转到如下页面,完成。 + +![image](assets/image-20251011082850-zcgihon.png) + +END diff --git a/assets/image-20250924075120-o10yjqh.png b/assets/image-20250924075120-o10yjqh.png new file mode 100644 index 0000000..e7bfc60 Binary files /dev/null and b/assets/image-20250924075120-o10yjqh.png differ diff --git a/assets/image-20250924075351-8417f64.png b/assets/image-20250924075351-8417f64.png new file mode 100644 index 0000000..64a4893 Binary files /dev/null and b/assets/image-20250924075351-8417f64.png differ diff --git a/assets/image-20250924075526-rghydlk.png b/assets/image-20250924075526-rghydlk.png new file mode 100644 index 0000000..608fc9d Binary files /dev/null and b/assets/image-20250924075526-rghydlk.png differ diff --git a/assets/image-20250924080118-ln1qx1l.png b/assets/image-20250924080118-ln1qx1l.png new file mode 100644 index 0000000..29ab59d Binary files /dev/null and b/assets/image-20250924080118-ln1qx1l.png differ diff --git a/assets/image-20250924080215-rai15ox.png b/assets/image-20250924080215-rai15ox.png new file mode 100644 index 0000000..31002f5 Binary files /dev/null and b/assets/image-20250924080215-rai15ox.png differ diff --git a/assets/image-20250924080338-mv8zoej.png b/assets/image-20250924080338-mv8zoej.png new file mode 100644 index 0000000..dda5cfc Binary files /dev/null and b/assets/image-20250924080338-mv8zoej.png differ diff --git a/assets/image-20250924080538-t1844jq.png b/assets/image-20250924080538-t1844jq.png new file mode 100644 index 0000000..7edf74c Binary files /dev/null and b/assets/image-20250924080538-t1844jq.png differ diff --git a/assets/image-20250924080622-9tota2v.png b/assets/image-20250924080622-9tota2v.png new file mode 100644 index 0000000..cbc23ce Binary files /dev/null and b/assets/image-20250924080622-9tota2v.png differ diff --git a/assets/image-20250924080955-p07bgzx.png b/assets/image-20250924080955-p07bgzx.png new file mode 100644 index 0000000..75a3357 Binary files /dev/null and b/assets/image-20250924080955-p07bgzx.png differ diff --git a/assets/image-20250924081254-ztmkwtx.png b/assets/image-20250924081254-ztmkwtx.png new file mode 100644 index 0000000..532da85 Binary files /dev/null and b/assets/image-20250924081254-ztmkwtx.png differ diff --git a/assets/image-20250924082009-xt8l9w2.png b/assets/image-20250924082009-xt8l9w2.png new file mode 100644 index 0000000..c075418 Binary files /dev/null and b/assets/image-20250924082009-xt8l9w2.png differ diff --git a/assets/image-20250924082220-4uti6xo.png b/assets/image-20250924082220-4uti6xo.png new file mode 100644 index 0000000..ad0f9cd Binary files /dev/null and b/assets/image-20250924082220-4uti6xo.png differ diff --git a/assets/image-20250924082308-pjpvdpn.png b/assets/image-20250924082308-pjpvdpn.png new file mode 100644 index 0000000..c76c94a Binary files /dev/null and b/assets/image-20250924082308-pjpvdpn.png differ diff --git a/assets/image-20250924082344-v2ywbm1.png b/assets/image-20250924082344-v2ywbm1.png new file mode 100644 index 0000000..0f70bff Binary files /dev/null and b/assets/image-20250924082344-v2ywbm1.png differ diff --git a/assets/image-20250924082620-2v18vg5.png b/assets/image-20250924082620-2v18vg5.png new file mode 100644 index 0000000..4de8aad Binary files /dev/null and b/assets/image-20250924082620-2v18vg5.png differ diff --git a/assets/image-20250924082817-hb6887r.png b/assets/image-20250924082817-hb6887r.png new file mode 100644 index 0000000..6ba4ba0 Binary files /dev/null and b/assets/image-20250924082817-hb6887r.png differ diff --git a/assets/image-20250924083248-8hncgq7.png b/assets/image-20250924083248-8hncgq7.png new file mode 100644 index 0000000..f0ccb3d Binary files /dev/null and b/assets/image-20250924083248-8hncgq7.png differ diff --git a/assets/image-20250924083549-hq3lfzh.png b/assets/image-20250924083549-hq3lfzh.png new file mode 100644 index 0000000..a70c8b4 Binary files /dev/null and b/assets/image-20250924083549-hq3lfzh.png differ diff --git a/assets/image-20250924083727-ukrcz09.png b/assets/image-20250924083727-ukrcz09.png new file mode 100644 index 0000000..41f78cb Binary files /dev/null and b/assets/image-20250924083727-ukrcz09.png differ diff --git a/assets/image-20250924084108-f1od64k.png b/assets/image-20250924084108-f1od64k.png new file mode 100644 index 0000000..84d050c Binary files /dev/null and b/assets/image-20250924084108-f1od64k.png differ diff --git a/assets/image-20250924084128-865fvo1.png b/assets/image-20250924084128-865fvo1.png new file mode 100644 index 0000000..ebeec57 Binary files /dev/null and b/assets/image-20250924084128-865fvo1.png differ diff --git a/assets/image-20250924084552-mpnkipo.png b/assets/image-20250924084552-mpnkipo.png new file mode 100644 index 0000000..e53c6ab Binary files /dev/null and b/assets/image-20250924084552-mpnkipo.png differ diff --git a/assets/image-20250924084840-fa19tp5.png b/assets/image-20250924084840-fa19tp5.png new file mode 100644 index 0000000..234ba68 Binary files /dev/null and b/assets/image-20250924084840-fa19tp5.png differ diff --git a/assets/image-20250924085034-dibz4sq.png b/assets/image-20250924085034-dibz4sq.png new file mode 100644 index 0000000..6e91e91 Binary files /dev/null and b/assets/image-20250924085034-dibz4sq.png differ diff --git a/assets/image-20250924085500-22rttdf.png b/assets/image-20250924085500-22rttdf.png new file mode 100644 index 0000000..5f54e2a Binary files /dev/null and b/assets/image-20250924085500-22rttdf.png differ diff --git a/assets/image-20250924085625-78f6hhz.png b/assets/image-20250924085625-78f6hhz.png new file mode 100644 index 0000000..5ff834d Binary files /dev/null and b/assets/image-20250924085625-78f6hhz.png differ diff --git a/assets/image-20250924085719-17kbd0b.png b/assets/image-20250924085719-17kbd0b.png new file mode 100644 index 0000000..39dccff Binary files /dev/null and b/assets/image-20250924085719-17kbd0b.png differ diff --git a/assets/image-20250924090033-j9q35hc.png b/assets/image-20250924090033-j9q35hc.png new file mode 100644 index 0000000..a69f817 Binary files /dev/null and b/assets/image-20250924090033-j9q35hc.png differ diff --git a/assets/image-20250924091526-q9b6w2t.png b/assets/image-20250924091526-q9b6w2t.png new file mode 100644 index 0000000..cb3afe2 Binary files /dev/null and b/assets/image-20250924091526-q9b6w2t.png differ diff --git a/assets/image-20250924091607-1wonbm7.png b/assets/image-20250924091607-1wonbm7.png new file mode 100644 index 0000000..cf86867 Binary files /dev/null and b/assets/image-20250924091607-1wonbm7.png differ diff --git a/assets/image-20250924091823-5jetzme.png b/assets/image-20250924091823-5jetzme.png new file mode 100644 index 0000000..3c3b269 Binary files /dev/null and b/assets/image-20250924091823-5jetzme.png differ diff --git a/assets/image-20250924091911-fvublmd.png b/assets/image-20250924091911-fvublmd.png new file mode 100644 index 0000000..66c2a65 Binary files /dev/null and b/assets/image-20250924091911-fvublmd.png differ diff --git a/assets/image-20250924092206-d0j45tq.png b/assets/image-20250924092206-d0j45tq.png new file mode 100644 index 0000000..e09cede Binary files /dev/null and b/assets/image-20250924092206-d0j45tq.png differ diff --git a/assets/image-20250924092435-p43qby1.png b/assets/image-20250924092435-p43qby1.png new file mode 100644 index 0000000..ee8f8a2 Binary files /dev/null and b/assets/image-20250924092435-p43qby1.png differ diff --git a/assets/image-20250924103116-bi8zg6h.png b/assets/image-20250924103116-bi8zg6h.png new file mode 100644 index 0000000..8328f94 Binary files /dev/null and b/assets/image-20250924103116-bi8zg6h.png differ diff --git a/assets/image-20250924103218-5zgemxn.png b/assets/image-20250924103218-5zgemxn.png new file mode 100644 index 0000000..c9d03c8 Binary files /dev/null and b/assets/image-20250924103218-5zgemxn.png differ diff --git a/assets/image-20250924104053-27gqx43.png b/assets/image-20250924104053-27gqx43.png new file mode 100644 index 0000000..1058983 Binary files /dev/null and b/assets/image-20250924104053-27gqx43.png differ diff --git a/assets/image-20251011065433-y3en03x.png b/assets/image-20251011065433-y3en03x.png new file mode 100644 index 0000000..cd5cafb Binary files /dev/null and b/assets/image-20251011065433-y3en03x.png differ diff --git a/assets/image-20251011065619-9gmydj0.png b/assets/image-20251011065619-9gmydj0.png new file mode 100644 index 0000000..7f38e26 Binary files /dev/null and b/assets/image-20251011065619-9gmydj0.png differ diff --git a/assets/image-20251011070900-wcwfrwe.png b/assets/image-20251011070900-wcwfrwe.png new file mode 100644 index 0000000..10c6517 Binary files /dev/null and b/assets/image-20251011070900-wcwfrwe.png differ diff --git a/assets/image-20251011071345-nqjmxh9.png b/assets/image-20251011071345-nqjmxh9.png new file mode 100644 index 0000000..37bebe1 Binary files /dev/null and b/assets/image-20251011071345-nqjmxh9.png differ diff --git a/assets/image-20251011071716-av47bqa.png b/assets/image-20251011071716-av47bqa.png new file mode 100644 index 0000000..3e2b9bd Binary files /dev/null and b/assets/image-20251011071716-av47bqa.png differ diff --git a/assets/image-20251011072021-9v4h60z.png b/assets/image-20251011072021-9v4h60z.png new file mode 100644 index 0000000..404778b Binary files /dev/null and b/assets/image-20251011072021-9v4h60z.png differ diff --git a/assets/image-20251011073731-e1pnpl9.png b/assets/image-20251011073731-e1pnpl9.png new file mode 100644 index 0000000..46d5074 Binary files /dev/null and b/assets/image-20251011073731-e1pnpl9.png differ diff --git a/assets/image-20251011074234-b8y4lii.png b/assets/image-20251011074234-b8y4lii.png new file mode 100644 index 0000000..65dc66f Binary files /dev/null and b/assets/image-20251011074234-b8y4lii.png differ diff --git a/assets/image-20251011074435-1tieurl.png b/assets/image-20251011074435-1tieurl.png new file mode 100644 index 0000000..381c0de Binary files /dev/null and b/assets/image-20251011074435-1tieurl.png differ diff --git a/assets/image-20251011080630-wpapnng.png b/assets/image-20251011080630-wpapnng.png new file mode 100644 index 0000000..a54e6f4 Binary files /dev/null and b/assets/image-20251011080630-wpapnng.png differ diff --git a/assets/image-20251011081043-eymhxh1.png b/assets/image-20251011081043-eymhxh1.png new file mode 100644 index 0000000..fd45ea7 Binary files /dev/null and b/assets/image-20251011081043-eymhxh1.png differ diff --git a/assets/image-20251011081444-a6wdisp.png b/assets/image-20251011081444-a6wdisp.png new file mode 100644 index 0000000..e3b3831 Binary files /dev/null and b/assets/image-20251011081444-a6wdisp.png differ diff --git a/assets/image-20251011082203-rtsrlp8.png b/assets/image-20251011082203-rtsrlp8.png new file mode 100644 index 0000000..8d35194 Binary files /dev/null and b/assets/image-20251011082203-rtsrlp8.png differ diff --git a/assets/image-20251011082457-03ovtgs.png b/assets/image-20251011082457-03ovtgs.png new file mode 100644 index 0000000..59d541d Binary files /dev/null and b/assets/image-20251011082457-03ovtgs.png differ diff --git a/assets/image-20251011082615-zvhhjwh.png b/assets/image-20251011082615-zvhhjwh.png new file mode 100644 index 0000000..b64fdf7 Binary files /dev/null and b/assets/image-20251011082615-zvhhjwh.png differ diff --git a/assets/image-20251011082725-e4m7shw.png b/assets/image-20251011082725-e4m7shw.png new file mode 100644 index 0000000..b07d853 Binary files /dev/null and b/assets/image-20251011082725-e4m7shw.png differ diff --git a/assets/image-20251011082850-zcgihon.png b/assets/image-20251011082850-zcgihon.png new file mode 100644 index 0000000..b157644 Binary files /dev/null and b/assets/image-20251011082850-zcgihon.png differ