GitHub
README.md
想在README.md里面插入项目的截图,
插入图片的关键就是知道README.md的链接规则,当在README.md中插入链接时可以插入相对路径,这是通用的适用于所有链接
例如:

:显示项目中的 /a.png

显示项目中的 /screenshots/b.png
““ :”[]”中为名称,‘“()”中为链接地址。显示一个链接到其他地址的链接
GitHub搜索
搜索名字中带着spring boot,stars数超过3000的仓库
in:name spring boot stars:>3000
搜索名字中带着spring boot,stars数超过3000,forks数超过300的仓库
in:name spring boot stars:>3000 forks:>300
搜索readme中带spring boot的仓库
in:readme spring boot
搜索描述中带有“微服务”关键词,语言为Java,pushed,最新日期要在2019-09-10之后
in:description 微服务 language:java pushed:>2019-09-10
in:name example 名字中有“example”
in:readme example readme中有“example”
in:description example 描述中有“example”stars:>1000 star>1000
forks:>1000 fork>1000
pushed:>2019-09-01 2019年9月1日后有更新的language:java 用Java编写的项目
git
1. 添加提交
git init
git remote add origin 你新建仓库的HTTP或者SSH地址链接
git pull origin master #将仓库拉取到本地文件夹
git add . #(.表示所有的)
git commit -m '添加文件内容描述'
git push origin master #将本地仓库文件推送到GitHub新建的仓库
2. 添加远程关联仓库
$ git remote add origin https://github.com/guanpengchn/demo.git
3. 查看远程关联
$ git remote -v
origin https://github.com/guanpengchn/demo.git (fetch)
origin https://github.com/guanpengchn/demo.git (push)