On Feb 11, 2020, at 19:26, Ethan Furman <ethan@stoneleaf.us> wrote:
On 02/11/2020 04:04 PM, Mariatta wrote:
On Tue, Feb 11, 2020 at 3:49 PM Ethan Furman wrote:
I'm trying to get the 3.3 and 3.4 branches so I can check my libraries' compatibility with older versions, but I do not see those branches as being available: How can I get those? 3.3 and 3.4 existed before the migration from GitHub, so we don't have the branches. They are in the repo as git tags. Try: # 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
Nice! Many thanks!
It's a bit simpler than that. You don't need to specify tags/
when referencing tags.
git checkout v3.3.7 # for final 3.3 release (in detached HEAD mode)
git checkout v3.3.7 -b v3.3.7 # to also create a local branch
git checkout 3.3 -b 3.3 # for the final state of the 3.3 branch
https://git-scm.com/book/en/v2/Git-Basics-Tagging
-- Ned Deily nad@python.org -- []