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 文件,並檢視現有的 checkout CPython 版本指南。加入一段簡短說明,介紹如何使用 tags 取得 3.3 和 3.4 等較早的 release,其中包括 issue 中列出的 tag 清單與 checkout 範例。當讀者能夠找到並依照說明從較早的 tag 建立本機 branch 時,即完成此任務。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
git, python
領域
documentation
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。