# Updating Branch Names

**URL:** <https://forums.swift.org/t/updating-branch-names/40412>\
**Category:** Announcements\
**Created:** [September 18, 2020, 4:51pm UTC](https://forums.swift.org/t/updating-branch-names/40412 "2020-09-18T16:51:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mishal\_shah](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mishal_shah/32/247_2.png) [@mishal\_shah](https://forums.swift.org/u/mishal_shah)\
**Post date:** [September 18, 2020, 4:51pm UTC](https://forums.swift.org/t/updating-branch-names/40412/1 "2020-09-18T16:51:57Z")

</div>

In July, @tkremenek announced a plan to move the [default branch to main](https://forums.swift.org/t/moving-default-branch-to-main/38515). We are beginning the transition on September 22nd 2020 and will be changing the branch name from master to main branch for the Swift, LLVM Project, and Swift related repositories. Once this process has been completed, you will need to update the targeted branch for the pull request to match the new branch name. Push access to the old branch will be disabled on September 22nd 2020 and deleted on October 5th 2020. We will be running an automerger from the main to the master branch until October 5th 2020 to reduce the impact on downstream projects.

Swift Repository: ([GitHub - apple/swift: The Swift Programming Language](https://github.com/apple/swift))

| Current Branch | New branch |
| --- | --- |
| master-next | next |
| master | main |
| master-rebranch | rebranch/main |

LLVM Repository: ([GitHub - apple/llvm-project: The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.](https://github.com/apple/llvm-project))

| Current Branch | New branch |
| --- | --- |
| [llvm.org/master](http://llvm.org/master) | [llvm.org/main](http://llvm.org/main) \* |
| apple/master | apple/main |
| swift/master-next | swift/next |
| swift/master | swift/main |

Note: To keep the name consistent with the upstream llvm-project, we will not be updating the [llvm.org/master](http://llvm.org/main)branch name until it’s updated on [llvm.org](http://llvm.org/) repository.

Swift Related Repositories:

| Repository | Current Branch | New Branch |
| --- | --- | --- |
| [GitHub - apple/swift-cmark: CommonMark parsing and rendering library and program in C](https://github.com/apple/cmark) | master | main |
| [GitHub - apple/indexstore-db: Index database library for use with sourcekit-lsp](https://github.com/apple/indexstore-db) | master | main |
| [GitHub - apple/swift-llbuild: A low-level build system, used by Xcode and the Swift Package Manager](https://github.com/apple/swift-llbuild) | master | main |
| [GitHub - apple/sourcekit-lsp: Language Server Protocol implementation for Swift and C-based languages](https://github.com/apple/sourcekit-lsp) | master | main |
| [GitHub - apple/swift-argument-parser: Straightforward, type-safe argument parsing for Swift](https://github.com/apple/swift-argument-parser) | master | main |
| [GitHub - apple/swift-corelibs-foundation: The Foundation Project, providing core utilities, internationalization, and OS independence](https://github.com/apple/swift-corelibs-foundation) | master | main |
| [GitHub - apple/swift-corelibs-libdispatch: The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware](https://github.com/apple/swift-corelibs-libdispatch) | master | main |
| [GitHub - apple/swift-corelibs-xctest: The XCTest Project, A Swift core library for providing unit test support](https://github.com/apple/swift-corelibs-xctest) | master | main |
| [GitHub - apple/swift-driver: Swift compiler driver reimplementation in Swift](https://github.com/apple/swift-driver) | master | main |
| [GitHub - apple/swift-format: Formatting technology for Swift source code](https://github.com/apple/swift-format) | master | main |
| [GitHub - apple/swift-integration-tests: Automated tests for validating the generated Swift snapshots behave correctly](https://github.com/apple/swift-integration-tests) | master | main |
| [GitHub - apple/swift-package-manager: The Package Manager for the Swift Programming Language](https://github.com/apple/swift-package-manager) | master | main |
| [GitHub - apple/swift-stress-tester: Stress testing utilities for Swift's tooling](https://github.com/apple/swift-stress-tester) | master | main |
| [https://github.com/apple/swift-syntax](https://github.com/apple/swift-syntax) | master | main |
| [GitHub - apple/swift-tools-support-core: Contains common infrastructural code for both SwiftPM and llbuild.](https://github.com/apple/swift-tools-support-core) | master | main |
| [GitHub - apple/swift-xcode-playground-support: Logging and communication to allow Swift toolchains to communicate with Xcode.](https://github.com/apple/swift-xcode-playground-support) | master | main |
| [GitHub - apple/swift-evolution: This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.](https://github.com/apple/swift-evolution) | master | main |

---

<div class="post-metadata">

**Author:** ![mishal\_shah](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mishal_shah/32/247_2.png) [@mishal\_shah](https://forums.swift.org/u/mishal_shah)\
**Post date:** [September 23, 2020, 8:52pm UTC](https://forums.swift.org/t/updating-branch-names/40412/4 "2020-09-23T20:52:58Z")

</div>

Update:  
Branches created and automergers configured.

On Sept 25th 2020, I will posting this on all of the pull request open for `master` branch.

> Please update the base branch to `main` by Oct 5th otherwise the pull request will be closed automatically.
> 
> - How to change the base branch: ([Link](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request))
> - More detail about the branch update: ([Link](https://forums.swift.org/t/updating-branch-names/40412/))

---

<div class="post-metadata">

**Author:** ![mishal\_shah](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mishal_shah/32/247_2.png) [@mishal\_shah](https://forums.swift.org/u/mishal_shah)\
**Post date:** [September 23, 2020, 10:12pm UTC](https://forums.swift.org/t/updating-branch-names/40412/6 "2020-09-23T22:12:39Z")

</div>

Thanks I updated the post.

---

<div class="post-metadata">

**Author:** ![mishal\_shah](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mishal_shah/32/247_2.png) [@mishal\_shah](https://forums.swift.org/u/mishal_shah)\
**Post date:** [October 6, 2020, 8:56pm UTC](https://forums.swift.org/t/updating-branch-names/40412/7 "2020-10-06T20:56:43Z")

</div>

Swift project repositories are updated with new branch names!
