Important
This is part of aDraft of the Python Contributor’s Guide.Text in square brackets are notes about content to fill in.Currently, the devguide and this new Contributor’s Guide co-exist in therepo. We are using Sphinx include directives to demonstrate the re-organization.The final Contributor’s Guide will replace the devguide with content in only oneplace.We welcome help with this!
The[Plan for the Contributor’s Guide] page has more details about the current state of this draftandhow you can help. See more info about the Contributor Guide in thediscussion forum:Refactoring the DevGuide.
[This is theInstall Git section from the devguide.]
CPython is developed usingGit for version control. The Gitcommand line program is namedgit
; this is also used to refer to Gititself. Git is easily available for all common operating systems.
Install
As the CPython repo is hosted on GitHub, please refer to either theGitHub setup instructionsor theGit project instructions for step-by-stepinstallation directions. You may also want to consider a graphical clientsuch asTortoiseGit orGitHub Desktop.
Configure
Configureyour name and email and createan SSH keyas this will allow you to interact with GitHub without typing a usernameand password each time you execute a command, such asgitpull
,gitpush
, orgitfetch
. On Windows, you should alsoenable autocrlf.