惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed
Spread Privacy
Spread Privacy
C
Cisco Blogs
L
Lohrmann on Cybersecurity
宝玉的分享
宝玉的分享
I
Intezer
aimingoo的专栏
aimingoo的专栏
Cisco Talos Blog
Cisco Talos Blog
The Register - Security
The Register - Security
GbyAI
GbyAI
C
CERT Recently Published Vulnerability Notes
Apple Machine Learning Research
Apple Machine Learning Research
U
Unit 42
Cyberwarzone
Cyberwarzone
爱范儿
爱范儿
I
InfoQ
博客园_首页
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
量子位
P
Palo Alto Networks Blog
Microsoft Azure Blog
Microsoft Azure Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
NISL@THU
NISL@THU
T
Threatpost
T
The Blog of Author Tim Ferriss
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Schneier on Security
Security Latest
Security Latest
Martin Fowler
Martin Fowler
H
Help Net Security
小众软件
小众软件
The Hacker News
The Hacker News
Know Your Adversary
Know Your Adversary
博客园 - 司徒正美
人人都是产品经理
人人都是产品经理
T
The Exploit Database - CXSecurity.com
Jina AI
Jina AI
Engineering at Meta
Engineering at Meta
The GitHub Blog
The GitHub Blog
P
Proofpoint News Feed
IT之家
IT之家
WordPress大学
WordPress大学
S
Securelist

Hyde Blog

Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog 关于我 关于我 Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog Hyde Blog
Hyde Blog
Hyde · 2025-10-05 · via Hyde Blog

Teek更新 ​

以下是同步原作者远程仓库更新的步骤:

添加远程源 ​

  • 添加原作者仓库为上游远程源(若未添加过):

bash

git remote add upstream https://github.com/Kele-Bingtang/vitepress-theme-Teek.git

验证远程源 ​

  • 验证上游远程源信息:

bash

git remote -v

# 输出示例:
$ git remote -v
upstream        https://github.com/Kele-Bingtang/vitepress-theme-Teek.git (fetch)
upstream        https://github.com/Kele-Bingtang/vitepress-theme-Teek.git (push)
vitepress-theme-Teek-hyde     https://gitee.com/SeasirHyde/vitepress-theme-Teek-hyde.git (fetch)
vitepress-theme-Teek-hyde     https://gitee.com/SeasirHyde/vitepress-theme-Teek-hyde.git (push)

拉取远程源 ​

  • 拉取上游远程源的最新代码:

bash

git fetch upstream
# 输出示例:
$ git fetch upstream
remote: Enumerating objects: 5323, done.
remote: Counting objects: 100% (2430/2430), done.
remote: Compressing objects: 100% (1497/1497), done.
remote: Total 5323 (delta 1359), reused 1858 (delta 853), pack-reused 2893 (from 1)
Receiving objects: 100% (5323/5323), 11.80 MiB | 739.00 KiB/s, done.
Resolving deltas: 100% (3257/3257), done.
From https://github.com/Kele-Bingtang/vitepress-theme-Teek
 * [new branch]      master     -> upstream/master

合并本地分支 ​

  • 合并到本地分支(假设当前在 master 分支)

bash

git merge upstream/master --allow-unrelated-histories

解决冲突 ​

注意

  • 解决可能出现的代码冲突(如果有的话)

  • 用编辑器手动解决冲突文件

  • 标记冲突已解决: git add <冲突文件>

  • 完成合并: git commit -m "merge upstream changes"

推送远程仓库 ​

  • 推送更新到自己的远程仓库

bash

git push origin master

注意事项 ​

注意

  • 如果之前已经添加过名为 upstream 的远程源,请跳过步骤 1
  • 实际分支名称可能是 master 而非 main ,请根据仓库实际情况替换
  • 建议在合并前使用 git status 确认当前分支状态
  • 推荐使用 git pull --rebase upstream/main 代替步骤 3 中的普通合并,可以保持提交历史更整洁

同步分支 ​

  • 将本地 master 分支同步到最新 dev 分支,可以执行以下步骤:

切换到 master 分支

执行变基操作,将 dev 分支的更新应用到 master 分支上

解决可能的冲突后提交

推送到远程仓库master分支