参考:https://github.com/WangRongsheng/Good-Search_Github
https://www.bilibili.com/video/BV1Xf4y1C7jT?p=5&vd_source=0dcc3acedc4fc1c77ebc9bfbcbd12cec
https://www.bilibili.com/video/BV1e541137Tc/?spm_id_from=333.337.search-card.all.click&vd_source=0dcc3acedc4fc1c77ebc9bfbcbd12cec
前言
git和github
git 版本控制软件(记录提交COMMIT,改崩回滚;代码记录在repository,方便共享;branch方便不同分工者协作)
github 基于git的网站
搜索框
条件之间加入空格即可组合使用
awesome 具体技术名
vue sample
spring starter/boilerplate
spring tutorial
进入仓库后
t:查找文件
l:定位行号
。:在线vscode
点击commits可看到提交记录,看到diff(时光机)
拉取项目
法一:进入你本地想存该仓库的文件夹
右击git bash here
git clone 仓库的https的地址
法二:idea …
找开源项目的一些途径
• https://github.com/trending/
• https://github.com/521xueweihan/HelloGitHub
• https://github.com/ruanyf/weekly
• https://www.zhihu.com/column/mm-fe
Git命令
git init
第一次提交
git add -A //提交所有
git commit -m "提交信息描述"
工作区回滚
git checkout <filename>
//或者放弃更改
撤销最后一次提交:
git reset HEAD^1 //往上1个
//undo