python / python/devguide

Add info on how to checkout earlier versions pre-GitHub migrations

未关闭
#572 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

topic-git type-feature
主要语言
Python
星标
2.1k
派生
1k
平均合并
2 天 12 小时
30 天内合并 PR
12

描述

It would be great if Git Bootcamp has information on how to checkout git tags to get the earlier CPython releases (e.g. 3.3, 3.4 )

3.3. and 3.4 aren't on CPython's GitHub as branches (unlike 3.7, 3.8, etc), but there are git tags, can can be checked out as follows:

# list all git tags matching v.3.3
git tag -l 'v3.3*'

# checkout the v.3.3.0 tag to a local branch
git checkout tags/v.3.3.0 -b my-own-3.3.0-branch

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在 devguide 中找到 Git Bootcamp 文档,并查看现有的检出 CPython 版本的指导。添加一段简短说明,介绍如何使用 tags 获取 3.3 和 3.4 等更早的 release,其中包括 issue 中列出的 tag 列表和检出示例。当读者能够找到并按照说明从较早的 tag 创建本地 branch 时,即完成此任务。

由索引模型根据 Issue 内容生成。

评估

技术栈
git, python
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。