Your Code. Your Rules.

Managing Repositories

Reference for the write and admin side of a repository: creating one, changing its settings, managing branches and tags, and merging.

Create a Repository

Start a new repository with a display name, an optional custom slug, a default branch, and a visibility setting.

Settings

Rename a repository, change its description or visibility, or delete it entirely.

Branches

Create a branch, delete one, or change which branch is the repository's default.

Tags

Create a lightweight or annotated tag, and delete a tag.

Merge

Merge one branch into another, always as a merge commit, with conflict and busy-repository handling.