飘逸峰的博客

Spring--Java程序员的春天

本文介绍如何在 Google Cloud 里登记 OAuth 客户端,申请 Gmail 的两个范围,再在浏览器里点允许,并用 curl 换成 refresh token。
控制台按 2026 年 11 月的 Google Auth Platform。正文已加密。
阅读全文 »

摘要

阅读全文 »

摘要

阅读全文 »

摘要

阅读全文 »

摘要

阅读全文 »

摘要

  • 本文写没有对方仓库写权限时,如何 fork、在自己的仓库上推分支,再向原仓库开 Pull Request。本文按 gh 2.103.3、Git 2.56.0。
  • 自己仓库里直接推分支再开 PR,见 Git安装和常用命令(最新) 的「创建 Pull Request」一节。gh pr create 的其余参数见 GitHub CLI 之 gh 命令。登录见同一篇。
  • gh repo fork。
阅读全文 »

摘要

  • 本文写 git worktree:同一个仓库开出第二个目录,各自停在不同分支。本文按 Git 2.56.0。
  • 只是把修改收起来再切回原分支时,用 Git安装和常用命令(最新) 里的 git stash。分支的创建和切换见同一篇的「分支」。
  • git-worktree。
阅读全文 »

摘要

阅读全文 »

摘要

阅读全文 »

摘要

阅读全文 »
0%