JoyLee Blog

「做自己热爱的事,过自己想要的生活」

PicGo上传图片到Github仓库上传失败

背景 在日常用MarkDown写笔记和博客时,对于图片的插入,我是用PicGo将图片上传至Github仓库中,然后生成图片的链接地址的,这样可以图片就可以不受限制的在任何地方都可以同步访问。 问题原因 但是我最近在写笔记和博客的时候发现使用PicGo上传图片到Github仓库中总是失败,如下图所示,上传进度条总是变红。 由于我是设置的Github仓库作为图床的,因此我在图床设置-Gith...

PicGo Failed to Upload Images to Github Repository

Background When writing notes and blogs with Markdown, I use PicGo to upload images to a Github repository and generate image links. This allows images to be accessed and synced anywhere without re...

Github Pages个人博客使用Github Action部署失败2

碎碎念(可跳过) 又想更新博客了,然后发现Github Action部署又失败了😭,开始新一轮的问题解决之路,记录一下。 解决过程 问题定位 先到Github pages的仓库中,查看历史commit,找到部署失败的commit。 点击❌,查看部署失败的详细信息。 分析问题(Copilot辅助+个人分析) 在报错详情页面,直接点击右上方的Explain error,使用Github中...

Github Pages Personal Blog Deployment Failed Using Github Action 2

Random Thoughts (Can Skip) Wanted to update my blog again, only to discover that Github Action deployment failed again 😭. Starting another round of troubleshooting, let me document this. Solution ...

VSCode中Project Manager插件卸载后项目颜色不恢复

VSCode中的Project Manager插件是一个可以在打开不同的项目的时候,给VSCode界面着不同的颜色的一个插件,这样可以方便快速分辨不同的项目,在同时打开多项目进行代码编辑的时候提高效率。 但是感觉有点麻烦,提高的效率并不多,因此没有再使用该插件了,但是在卸载Project Manager插件之后,发现原来设置了不同颜色的项目,仍然会显示原来的颜色,感觉有点没有处理干净,这里...

Project Color Not Reset After Uninstalling VSCode Project Manager Plugin

The Project Manager extension in VSCode is a plugin that allows you to assign different colors to the VSCode interface for different projects. This makes it easier to quickly distinguish between pr...

Github Pages个人博客使用Github Action部署失败

碎碎念(可跳过) 好久没有写博客了,昨天遇到一个git的问题,解决了,想把它记录下来,本来想记到本地的Markdown文件的,但后来想想还是记到自己的博客中效益更大一点,于是在我的个人博客项目文件夹下,新建了一个Markdown文件,内容写完,git commit提交然后push到Github远程之后,发现个人博客网页并没有变化(好吧,其实不是昨天才发现,去年就已经发现个人博客网页没有变化...

Fail to deploy personal blog on GitHub Pages using GitHub Actions

Ramblings (Optional to Read) It’s been a while since I last wrote a blog. Yesterday, I encountered a git issue, resolved it, and wanted to document it. Initially, I planned to save it in a local M...

git学习记录

1.怎么把本地仓库中历史某一次commit状态的某一个文件保存到当前状态? 方法:使用git checkout命令 找到目标提交的哈希值 使用git log命令查看提交历史,找到目标提交的哈希值(commit hash)。例如: 1 git log 假设目标提交的哈希值是abc...

git Study Log

1. How to save a specific file from a historical commit in the local repository to the current state? Method: Use the git checkout command Find the hash of the target commit Use the ...