From 6981216662a8c5b1c96d9db2fd4fc59af1479d75 Mon Sep 17 00:00:00 2001 From: Shannoon <18344848@qq.com> Date: Mon, 4 Jun 2018 11:16:48 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0FlowMe.txt=E5=92=8CStuden?= =?UTF-8?q?tsList.txt=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FlowMe.txt | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ StudentsList.txt | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 FlowMe.txt create mode 100644 StudentsList.txt diff --git a/FlowMe.txt b/FlowMe.txt new file mode 100644 index 0000000..38f3592 --- /dev/null +++ b/FlowMe.txt @@ -0,0 +1,58 @@ +参与开源项目具体步骤 + +以GitHub.com网站SourceTree项目为例,它的项目主页为 https://github.com/Shannoon/SourceTree + +0、在github.com网站注册个人账号并登录 + +1、配置个人相关信息 + +(1) 配置个人用户名和邮箱信息。 + +Git命令: +git config --global user.name "yourName" +git config --global user.email "yourEmail" + +(2) 配置个人SSH密钥 + +方法一:重新生成一对密钥,上传公钥。可以使用Git命令或Git GUI、PuTTYgen工具。 +Git命令:ssh-keygen -t rsa -C "yourEmail" + +方法二:把以前保存的密钥,下载然后重新解压到机器的用户目录下 +C:\Users\Administrator\.ssh + +2、浏览器中访问项目主页,点“Fork”,就在自己的账号下克隆了一个项目库 +浏览器地址栏输入项目主页:https://github.com/Shannoon/SourceTree + +3、将自己的账号下的对应项目库克隆到本地 +Git命令:git clone + +4、在本地库修改提交代码 + +(1) 默认只克隆master分支,切换到版本库目录, +然后抓取对应班级分支(比如:dev-15se1)(创建该远程分支的本地分支) +Git命令:git checkout -b dev-15se1 origin/dev-15se1 + +(2)在对应班级分支下(比如:dev-15se1)分别添加和修改一个文件。 +a、添加一个身份信息文件(用Notepad++软件,编码选择以UTF-8无BOM格式编码,以解决中文显示乱码问题) + +文件示例: +文件名:20150305100_张小三_热爱生命.txt +文件内容为:20150305100,张小三:汪国真《热爱生命》 + +b、修改班级成员列表StudentsList.txt文件,在文件对应序号之后填写个人学号、姓名信息,学号姓名之间用逗号分隔,不要换行。 +例如: +...... +[00]20150305100,张小三 +...... + +(3) 添加提交到本地库 + +5、将修改后的本地库push推送到自己帐号下的远程库 +Git命令:git push origin develop + +6、在网站个人账号下发起Pull Request拉请求。如果希望项目官方能接受你的修改,你可以发起一个 Pull Request,然后等待对方审核批准。特别注意:源分支与目标分支的对应关系,都是班级对应分支。 + +(1) 创建Pull Request拉请求。标题填写自己的学号、姓名信息,内容填写描述信息。 + +(2) 查看开源项目主页的Pull Requests列表,确认自己的Pull Request拉请求。 + diff --git a/StudentsList.txt b/StudentsList.txt new file mode 100644 index 0000000..a0a90dc --- /dev/null +++ b/StudentsList.txt @@ -0,0 +1,56 @@ +[e.g.]20140301100,张小三 +[00] +[01] +[02] +[03] +[04] +[05] +[06] +[07] +[08] +[09] +[10] +[11] +[12] +[13] +[14] +[15] +[16] +[17] +[18] +[19] +[20] +[21] +[22] +[23] +[24] +[25] +[26] +[27] +[28] +[29] +[30] +[31] +[32] +[33] +[34] +[35] +[36] +[37] +[38] +[39] +[40] +[41] +[42] +[43] +[44] +[45] +[46] +[47] +[48] +[49] +[50] +[51] +[52] +[other01] +[other02] \ No newline at end of file -- Gitee From 5c79e0e49abc3227d1ab9436540873dbbf857d16 Mon Sep 17 00:00:00 2001 From: RedHoodHD <1435100256@qq.com> Date: Wed, 21 Nov 2018 11:05:01 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=8620160311104=5F?= =?UTF-8?q?=E8=94=A1=E6=A4=8D=E6=A5=A0=5F=E7=94=BB=E9=B8=A1.txt=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=9C=A8StudentsList.txt=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=E4=BA=86=E4=B8=AA=E4=BA=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\241\346\244\215\346\245\240_\347\224\273\351\270\241.txt" | 1 + StudentsList.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 "20160311104_\350\224\241\346\244\215\346\245\240_\347\224\273\351\270\241.txt" diff --git "a/20160311104_\350\224\241\346\244\215\346\245\240_\347\224\273\351\270\241.txt" "b/20160311104_\350\224\241\346\244\215\346\245\240_\347\224\273\351\270\241.txt" new file mode 100644 index 0000000..f8e056c --- /dev/null +++ "b/20160311104_\350\224\241\346\244\215\346\245\240_\347\224\273\351\270\241.txt" @@ -0,0 +1 @@ +20160311104_蔡植楠_画鸡 \ No newline at end of file diff --git a/StudentsList.txt b/StudentsList.txt index a0a90dc..3262b2b 100644 --- a/StudentsList.txt +++ b/StudentsList.txt @@ -1,9 +1,9 @@ -[e.g.]20140301100,张小三 +[e.g.]20140301100,张小三 [00] [01] [02] [03] -[04] +[04]20160311104,蔡植楠 [05] [06] [07] -- Gitee From eea1c9a3de08b4e3a561628e8b18ac953ba73003 Mon Sep 17 00:00:00 2001 From: Daody <3314241178@qq.com> Date: Wed, 21 Nov 2018 11:05:19 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=8620160311147=5F?= =?UTF-8?q?=E7=8E=8B=E5=90=89=E8=BE=B0=5F=E6=9C=9B=E5=A4=A9=E9=97=A8?= =?UTF-8?q?=E5=B1=B1.txt=E6=96=87=E4=BB=B6=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BA=86StudentList.txt=E6=96=87=E4=BB=B6=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=BA=86=E4=B8=AA=E4=BA=BA=E8=BA=AB=E4=BB=BD=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\260_\346\234\233\345\244\251\351\227\250\345\261\261.txt" | 1 + StudentsList.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 "20160311147_\347\216\213\345\220\211\350\276\260_\346\234\233\345\244\251\351\227\250\345\261\261.txt" diff --git "a/20160311147_\347\216\213\345\220\211\350\276\260_\346\234\233\345\244\251\351\227\250\345\261\261.txt" "b/20160311147_\347\216\213\345\220\211\350\276\260_\346\234\233\345\244\251\351\227\250\345\261\261.txt" new file mode 100644 index 0000000..bf01ddc --- /dev/null +++ "b/20160311147_\347\216\213\345\220\211\350\276\260_\346\234\233\345\244\251\351\227\250\345\261\261.txt" @@ -0,0 +1 @@ +20160311147,王吉辰,望天门山 diff --git a/StudentsList.txt b/StudentsList.txt index a0a90dc..ae9c764 100644 --- a/StudentsList.txt +++ b/StudentsList.txt @@ -1,4 +1,4 @@ -[e.g.]20140301100,张小三 +[e.g.]20140301100,张小三 [00] [01] [02] @@ -46,7 +46,7 @@ [44] [45] [46] -[47] +[47]20160311147,王吉辰 [48] [49] [50] -- Gitee