1.5k 1 分钟

要保留自己的更改并与上游仓库同步,你可以按照以下步骤进行操作: 克隆你的 Fork 仓库到本地: 使用以下命令将你的 Fork 仓库克隆到本地(将 <your_username> 替换为你的 GitHub 用户名, <repo_name> 替换为仓库名称): git clone https://github.com/<your_username>/<repo_name>.git 添加上游仓库为远程: 进入你克隆的仓库目录,然后添加上游仓库作为一个远程仓库: cd...
456 1 分钟

hexo-blog-encrypt,可以方便给文章进行加密,让大部分访问者在不知道正确的密码前无法访问文章内容 # 部署步骤 # 进入 Hexo 博客的目录,然后输入以下命令,安装插件 npm install --save hexo-blog-encrypt# 编辑 _config.yml,加入以下内容以彻底汉化插件 # Securityencrypt: # hexo-blog-encrypt silent: true abstract: 这是一篇加密文章,需要输入正确的密码才能继续阅读。 message: 当前文章暂不对外可见,请输入访问密码后查看! tags: # 设置指定 tags...
695 1 分钟

# 部署步骤 打开 Zenet 的官网:https://client.zenet.host/register?ref=Tevec7VH ,如没有账户点击 “Register a new membership” 注册,有账户直接输入账户密码登录即可 协议:Vmess / Vless / Trojan / Shadowsocks 转到 “Servers” 页面,点击 “Create Server” 输入服务器名称,然后选择服务器类型为 Bot 及 Nodejs,选择服务器节点,点击 “Create server” 按钮 点击 “Manage” 按钮 打开 xray-for-nodejs...
231 1 分钟

基于 GitHub issue 和 preact 的评论插件 # 部署步骤 打开这个网页:https://github.com/settings/developers 转到 OAuth Apps,点击 “New Oauth Apps” 输入应用名称、网页地址、介绍和 Callback 地址(填博客网页地址) 点击 “Generate new client secret” 复制 Client ID 和 Secret,备用 根据你使用的 Hexo 主题的不同,修改评论配置,这里我以 hexo-butterfly 主题为例 完成
594 1 分钟

# Git 推送仓库教程 # 步骤 1:初始化仓库 如果你的项目还没有与 Git 仓库关联,你需要执行以下步骤: 在本地计算机上创建项目文件夹: mkdir my-projectcd my-project 初始化 Git 仓库: git init # 步骤 2:添加和提交更改 在你的项目中进行代码编写后,你需要将更改添加到 Git 仓库: 添加更改到暂存区,用于准备提交: git add .这将添加所有修改的文件到暂存区。如果你只想添加特定文件,使用 git add 文件名 。 提交更改到本地仓库: git commit -m...
362 1 分钟

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. # Quick Start # Create a new post h$ hexo new "My New Post"More info: Writing # Run server h$...