> -----Original Message----- > From: Chris Angelico <ros...@gmail.com> > Sent: Tuesday, May 18, 2021 3:01 AM > To: Python <python-list@python.org> > Subject: Re: How to build stable 3.9 branch from fork and clone of cpython > > On Tue, May 18, 2021 at 4:33 PM <pjfarl...@earthlink.net> wrote: > > > > I am following the "Getting Started" section of the Python Developers > > Guide, but when I build the first version to verify everything builds, > > it builds branch 3.11. > > > > If I want to build and contribute to branch 3.9, how do I set that up > > please? > > > > git checkout 3.9 > > That should switch you to the branch, replacing all the (tracked) files in > the build > directory with the corresponding files from 3.9. > > Be aware that most development is going to happen on the master branch (or > the main branch, whichever one you have), and branches like 3.9 are going to > get backported patches; so any change you're planning to contribute to 3.9 is > going to need to work correctly on both branches. > > ChrisA
Thanks Chris, that did work. Thinking over what you said though, perhaps I should change it back. Would "git checkout main" reverse the branch 3.9 checkout? As you can probably tell, I am very new to git, so please pardon my ignorance. Peter -- https://mail.python.org/mailman/listinfo/python-list