C语言寒假大作战01
C语言寒假大作战01
| 问题 | 答案 |
|---|---|
| 这个作业属于那个课程 | https://edu.cnblogs.com/campus/zswxy/CST2019-4 |
| 这个作业要求在哪里 | https://edu.cnblogs.com/campus/zswxy/CST2019-4/homework/10248 |
| 我在这个课程的目标是 | 了解git和码云的基本用法,熟悉各项操作 |
| 作业正文 | 通过命令列表和视频学习,注册、登录、上传文件、克隆仓库 |
| 参考文献 | http://v.harson.co/static/video/git.mp4 |
1.1 码云界面
①注册页面

②提交页面

1.2 Git界面

1.3 本地仓库截图

1.4 学习命令
①邮箱输入
git config --global user.email

②本地仓库推送至远程仓库(推送)
git push origin master

③本地仓库推送至远程仓库(准备)
git pull --rebase origin master

④名字输入
git config --global user.name

⑤创建仓库
git init

⑥返回文件修改之前的内容
git reset --hard xxxx (xxxx 为 git log中 commit的前4位)

⑦提交文件至代码仓库
git commit -m "Your exegesis"

⑧查询状态
git status

⑨查询日志
git log


浙公网安备 33010602011771号