曾经收藏过的一篇文章 How to write a Git commit message,今天无意中点开却发现网站无法访问,故而使用 Google Cache 恢复该文。后来发现作者网站虽然无法访问,但是作者将网站开源 了。
Introduction: Why good commit messages matter
If you browse the log of any random git repository you will probably find its commit messages are more or less a me
Read more ...
Sometimes you need more accounts than one for access to Github or Gitlab and similar tools. For example you can have one account for your projects at home/github and second account for your company/gitlab.
Generate first key
ssh-keygen -t rsa -C "[email protected]"
When y
Read more ...
Claude Code /goal:让 AI 自主持续工作直到达成目标的新命令
用 [[Claude Code]] 写代码时,一直有一个令人微妙不适的摩擦:每当 Claude 完成一轮工作,控制权就回到了我这里,我需要再次发出指令,告诉它”继续”“再检查一遍”“还有这个文件没改”。对于那种需要跑很多轮才能完成的任务——比如把一个模块从旧 API 迁移到新 API 直到所有测试通过,或者逐文件重构某个目录直到符合统一规范——这个”人类中继”的环节就显得相当机械,本质上我只是在不停地按确认键。
本地快速切换 Claude Code 和 Codex CLI 账号的几种方案
同时维护个人项目和工作项目的时候,最让我头疼的不是代码本身,而是工具的账号管理。[[Claude Code]] 和 [[Codex]] 这类 AI 编程工具,我在公司有一套账号,个人订阅又是另一套。每次在项目之间切换,都要 claude auth logout 再 claude auth login,不仅耗时,还经常忘了当前用的是哪个账号,写了半天才发现额度消耗到错误的账号上去了。