summaryrefslogtreecommitdiff
path: root/docs/internals/git.txt
diff options
context:
space:
mode:
authorMarkus Holtermann <info@markusholtermann.eu>2021-02-25 10:52:48 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-09 08:48:32 +0100
commitd9a266d657f66b8c4fa068408002a4e3709ee669 (patch)
treeb10eff95f3bef9840753d72609c4658001de9b22 /docs/internals/git.txt
parenta124365de80bd633e24f692e7ecaa5c84c12182d (diff)
downloaddjango-d9a266d657f66b8c4fa068408002a4e3709ee669.tar.gz
Updated Git branch "master" to "main".
This change follows a long discussion on django-develops: https://groups.google.com/g/django-developers/c/tctDuKUGosc/
Diffstat (limited to 'docs/internals/git.txt')
-rw-r--r--docs/internals/git.txt14
1 files changed, 9 insertions, 5 deletions
diff --git a/docs/internals/git.txt b/docs/internals/git.txt
index 85f0c667a2..5c2a17e02c 100644
--- a/docs/internals/git.txt
+++ b/docs/internals/git.txt
@@ -31,7 +31,7 @@ Django releases, which you can browse online.
The Git repository includes several `branches`_:
-* ``master`` contains the main in-development code which will become
+* ``main`` contains the main in-development code which will become
the next packaged release of Django. This is where most development
activity is focused.
@@ -54,12 +54,16 @@ website can be found at `github.com/django/djangoproject.com
.. _branches: https://github.com/django/django/branches
.. _tags: https://github.com/django/django/tags
-The master branch
-=================
+The main branch
+===============
If you'd like to try out the in-development code for the next release of
Django, or if you'd like to contribute to Django by fixing bugs or developing
-new features, you'll want to get the code from the master branch.
+new features, you'll want to get the code from the main branch.
+
+.. note::
+
+ Prior to March 2021, the main branch was called ``master``.
Note that this will get *all* of Django: in addition to the top-level
``django`` module containing Python code, you'll also get a copy of Django's
@@ -142,7 +146,7 @@ Archived feature-development work
designed.
Feature-development branches tend by their nature to be temporary. Some
-produce successful features which are merged back into Django's master to
+produce successful features which are merged back into Django's main branch to
become part of an official release, but others do not; in either case, there
comes a time when the branch is no longer being actively worked on by any
developer. At this point the branch is considered closed.