- 在本地的git目录中创建一个文件夹,起名叫做ScreenShots吧。
![img_1d2e4457675ffb389c75aed5fc6c92cb.png](https://yqfile.alicdn.com/img_1d2e4457675ffb389c75aed5fc6c92cb.png?x-oss-process=image/resize,w_1400/format,webp)
image.png
把需要的图片加入到这个文件夹中。
把这个文件夹连同图片文件一起,上传到github上。
![img_925c4d6daf4428f2d3bb4876671a3bf6.png](https://yqfile.alicdn.com/img_925c4d6daf4428f2d3bb4876671a3bf6.png?x-oss-process=image/resize,w_1400/format,webp)
image.png
4.在github上点击上传的图片获取图片地址
![img_3a66652c5871248ad820c070f28f242e.png](https://yqfile.alicdn.com/img_3a66652c5871248ad820c070f28f242e.png?x-oss-process=image/resize,w_1400/format,webp)
image.png
5.在本地打开readme文档,插入语句:
截图:
![Alt text](https://github.com/weiman152/StarsView/blob/master/ScreenShots/1.png)
注意: 地址就是github上浏览器中显示的地址,既不是本地地址,也不是相对目录,要是一个可以访问的完整地址。直接拷贝github上的地址就可以了。
保存readme文件,上传到github。
-
完成。
效果截图:
image.png
明白了吧?亲们,祝好运!