参考:
https://blog.youkuaiyun.com/yxy11256974/article/details/53449703
https://www.cnblogs.com/88999660/p/5256421.html
使用git
- 将项目
git clone
到本地 - 通过commit了解作者的意图
- 在log中查找自己想要的commit的id
- 根据commit id新建一个分支,代码、
git checkout -b <branch-name> <commit-id>
git checkout -b first-commit ''commit-id''
思维方法
先有整体架构,即对整个项目做什么事有认识,每个模块做什么事有认识。
局部关注,即对我们学习开发有益的部分进行精读。
辅以好的工具,包括熟练使用的文本编辑器,grep(用于搜寻某目录下是否有符合指定条件下的文件),gtags等。
并记录程序结构
2020/1/8 第一次总结