multirotor
the first day ——12.10
-
install vmware-workstation and ubuntu
-
swap sources and 换输入法
-
learn git
-
github关联远程仓库
-
install and use Typora
Git
| code | meaning |
|---|---|
| mkdir test | 创建目录 |
| cd test | 进入目录 |
| git init | 初始化仓库 |
| ls ;ls -ah | 查看目录 |
| touch test.c | 新建项目 |
| add | 添加到缓存 |
| commit -m “words” | 提交到库 |
| log | 提交历史 |
| status | 查看仓库状态 |
| checkout – file | 回到最近修改状态 |
| rm ;rm -rf file | 删除 |
| reset+checkout | 恢复文件 |
| checkout -b dev | 创建分支+切换 |
| merge | 合并 |
| branch -a | 查看分支 |
| branch -D | 删除分支 |
| branch -m | 修改分支名 |
| clone | 远程仓库关联到本地 |
| push origin branch | 修改提交 |