jni / jni/git-tutorial

Suggestions

未关闭
#6 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
CSS
星标
10
派生
18
PR 合并指标
30 天内没有已合并 PR

描述

Hey @jni,

I just taught this tutorial and had some thoughts, but I didn't want to do a PR in case you complete disagree :stuck_out_tongue:

Firstly, I've decided I like it much better than the SWC version. It's much more succinct and has less side-tracks. It also focuses much more on branching and collaboration. Note, I taught a mini version because I only had 1.5 hours.

Suggestions:
- [ ] Replace all `git commit -a -m "message"` with:

```
git add mars.txt
git commit -m "message"
```

I know this is a common shortcut, but I think it's a bad habit, particularly for beginners. It leads to lots of accidental committing of things as the project gets more complicated.
- [ ] I also skipped the alias bit, because I think it should be a side-note/advanced feature, not part of a beginner tutorial.
- [ ] Finally, I did lots of graph pictures on the wall for the branching bit. Not sure if I have the patience to draw them electrically, but if I did, that would be my suggestion!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。