Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace master with main #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Replace master with Main
Master is offensive to some people, thus the git project intends to change the default name to main. 

Source: https://sfconservancy.org/news/2020/jun/23/gitbranchname/
  • Loading branch information
christophhillisch authored Apr 29, 2024
commit 360a70eec775221f2738ef8d534c0d36ff3e2677
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Before we dive in, there are a few terms which should be mentioned first, since

* **tag** — A **tag** is also a name for a commit, similar to a _branch_, except that it always names the same commit, and can have its own description text.

* **master** — The mainline of development in most repositories is done on a branch called “**master**” or "**main**". Although one of these is typically chosen as the default name by convention, the chosen name and branch themselves are in no way special.
* **main** — The mainline of development in most repositories is done on a branch called “**main**” or "**master**". Although one of these is typically chosen as the default name by convention, the chosen name and branch themselves are in no way special.

* **HEAD** — **HEAD** is used by your repository to define what is currently checked out:
* If you checkout a branch, HEAD symbolically refers to that branch, indicating that the branch name should be updated after the next commit operation.
Expand Down