本篇文章是一个启发,介绍如何使用gitee作为免费图床。
没有使用github的原因是github国内访问有些慢。
另外,还有其他优秀的云存储,例如7niu,朋友们也可以试一下。
Use Gitee as public pictures storage.
Step 1
- Create a project as your picture storage
- Submit your pictures
Step 2
How to use it?
This is a sample:
change blob in this link into raw!
https://gitee.com/gdhu/prvpic/blob/master/Image_001.png
Into:
https://gitee.com/gdhu/prvpic/raw/master/Image_001.png
example: this picture below is from gitee.
Step 3, tips about Git usage:
git init
git add origin xxx
git add --all
git commit -m "commit"
git push -f origin master