Closed arrowrowe closed 8 years ago
关于对 @swaylq 之前写的 Git 系列的建议,
clone
/ init
/ remote add
都在提示里.status
讲一下常见的 status?push
和 pull
的文字说明有点生涩?git info
.git checkout -b new-branch
和 git push -u origin new-branch
就够了.总之, 概念少而清晰, 讲最少最少的命令, 留适合的阅读和实践.
其他建议,
alias | grep git
的含义. OMZ 定义的很多关于 git 的 alias 都很实用, 可以留做阅读实践. (还可以留 Git 自己的 alias.)cd
/ mkdir
/ rm
/ ...... 留作阅读实践的可以是安装些东西... 比如 tree / ag / jq / nvm / pip / cheat / git 2.8.0...... 话说上周作业对命令行的要求到哪里了? 我还没看作业......抄送 @at15 @ComMouse @LukeXuan
@arrowrowe 作业我还没 update (不过我猜也没人去看,我们应该加个谷歌统计
我的意见分两部分,一个是课程相关的,一个是跟git相关的
课程上
Git
@arrowrowe 命令行应该还是要讲一下的,你可以补充到我那个分支里,我文档里有 command line 的部分。
re @at15
@arrowrowe 你看下那个文档和 #2 slide里的内容比文档少很多,这样后面的 slide 重复的内容在 doc 和 slide 里可以直接链接过去。
re @at15
Git 的难点是工作流和分支管理,这个应该是重点
从某种角度来说,简单粗暴的svn,在不是很需要复杂的功能情况下,也是不错的。
另外,这次的课程结束我可能会附加一个 15 分钟 express 搭建简单后端的小教程,作为附加课
@swaylq 我觉得分支的简单应用,讲了大部分人也一下子听不懂,多平台下的安装的话,只要说 win 就够了,其他的放文档好了,用来讲太浪费时间。
express搭后端这个我不太推荐,很多人其实什么都还没搞清,然后发现js前后端都可以写,反而会更混乱。
还有你直接开分支就好了,不要用自己的fork,这样别人也可以直接改。
re @at15 ,打算在分支下写的,随手 fork 了一下,分支的话我尽量讲的简单把,我觉得不讲 分支的话也没什么意义……倒是本地工作流大家不一定能听得懂,安装的话肯定不会讲多的,而且在发布活动的时候完全可以把安装的文档放出来让大家来安装。
express 搭后端是出于私心考虑,我倒时候会提醒大家接下来是附加课,可以不听。讲的原因是院里在做嵌入式大作业,需要用这个搭服务端,另外项目中需要用到。
btw,我可能会把 win 下的安装空出来让你们补充
@swaylq .... 主要就是win下的安装吧....
@swaylq you should also mention common problems like CRLF, better have a single chapter for common problems (FAQ).
etc. cc @arrowrowe @ComMouse
Ch2 主讲 @swaylq 2016/04/04 21:00 Rotunda