# lagou-homework **Repository Path**: ivanblade/lagou-homework ## Basic Information - **Project Name**: lagou-homework - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-07 - **Last Updated**: 2021-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # lagou-homework + 作业提交分支操作(参考:https://blog.csdn.net/HcJsJqJSSM/article/details/84558229) + https://github.com/Ivan-blade/lagou-homework.git + git init + git remote add origin xxx + git checkout -b newbranch + 添加作业文件 + git add . + git commit -m "xxx" + git push -u origin newbranch + 相关作业请看分支 + 目前进度Stage1-Module4 + 下载单一分支 + git init + git remote add origin http:.... + git fetch origin Stage1-Module1 + git pull origin Stage1-Module1 ### 其他 + 课堂资源链接--https://github.com/Ivan-blade/Java_Basics_2020.04.23 + github关于fork别人仓库的操作链接--https://blog.csdn.net/u012426298/article/details/80315149 + 同步仓库步骤 + fork + clone + git remote add upstream https://gitee.com/Lgouedu/Java_Basics_2020.04.23.git(原仓库地址) + git pull upstream master(同步原仓库地址) + 也可以替换为三步 ``` git fetch upstream // 抓取原仓库修改代码 git checkout master // 切换分支 git merge upstream/master // 合并分支 ```