I build a folder in gitee library.
I use picgo
to help me upload the pics. At the same time, I want to make a copy for the blog files.
I used git pull
command to help update the local file.
Meanwhile,I can directly add file into the local folder. And the below git command to upload it.
git add -A
git commit -m "add new pics"
git push
If we want to directly access the file, we can use the https://gitee.com/zhulinmails/git-images/raw/master/2021/
to concatenate with the local file name. The result is shown below.
https://s4.51cto.com/images/blog/202108/04/8b0cdf46cf1b355703919de41cacc25c.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_30,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=
The exploration give us a new way to do the picture library in Gitee.