Git 基础知识: Docs
文档:Tutorial/docs/L0/Git/readme.md at camp3 · InternLM/Tutorial · GitHub
作业:Tutorial/docs/L0/Git/task.md at camp3 · InternLM/Tutorial · GitHub
Fork 一个目标项目到自己的Github。
在自己的github仓库下复制 刚才Fork过来的项目的链接。
本地Vscode SSH into InternStudio开发机,打开 selfIntro-demo 文件夹,把自己github上的Tutorial项目clone到开发机。
查看分支,现在已经在实战营第三期分支了。
创建一个名为camp3_3266的分支:git checkout -b camp3_3266
在./data/Git/task/目录下创建破冰文件: touch ./data/Git/task/camp3_3266.md
把新增加的camp3_3266.md提交到camp3_3266分支:
git add .
git commit -m "add git_3266_introduction"
git pushorigin camp3_3266
将修改的内容(新增加的camp3_3266.md)pull request 到Tutorial项目。