diff --git a/git/start.md b/git/start.md index 6097231..d090bf7 100644 --- a/git/start.md +++ b/git/start.md @@ -1,6 +1,6 @@ 开始使用 git ---- - +=== +## 1. 安装 * 安装 `git` 客户端和图形界面(例如 `TortoiseGit`,`SmartGit`),连接方式注意选择 `openssh`。 * 生成 `ssh 密钥`(Windows 用户请先打开 `git bash`),输入命令: ```bash @@ -11,3 +11,19 @@ 延伸阅读:[非对称加密](https://zhuanlan.zhihu.com/p/49494990) * 打开 [设置](https://git.yztiot.com/user/settings/keys),上传公钥,才能连接远众 git 仓库。 + +## 2. Git 使用 +### 2.1. 版本控制 + +[入门 - 工作就像玩游戏](http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/zh_cn/ch01.html) + +[Git Magic](https://github.com/blynn/gitmagic) +### 2.2. Git 基本操作 +* 基本时序 +![](start/sequence.webp) +* 常用命令 +![](start/daily-commands.jpg) + +[Git和SVN(Subversion)的命令的对比](https://www.jianshu.com/p/9c5d2a0589fc) + +[Git 小游戏](https://learngitbranching.js.org/?locale=zh_CN) diff --git a/git/start/daily-commands.jpg b/git/start/daily-commands.jpg new file mode 100644 index 0000000..41c1cd7 Binary files /dev/null and b/git/start/daily-commands.jpg differ diff --git a/git/start/sequence.webp b/git/start/sequence.webp new file mode 100644 index 0000000..37b7b4e Binary files /dev/null and b/git/start/sequence.webp differ