---
title: "af create-repository"
description: "Request a new repository"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.forge.workreef.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# af create-repository

<!-- Generated by tools/gen-reference.mjs from `af create-repository --help`. Change the help text in crates/atoll-forge-cli/src/main.rs, then run `npm run gen:reference`. -->

Its objects are named in SHA-256, as Git's `--object-format=sha256` names them, unless `--objects sha1` asks for SHA-1. Requires an administrator; it takes effect at once unless the forge requires a second administrator.

## Usage

```text
af create-repository [OPTIONS] <NAME>
```

## Arguments

- `<NAME>`

  Repository name: letters, digits, `.`, `-` and `_`

## Options

- `--objects <OBJECTS>`

  Object format of the repository's history: `sha256` (the default) or `sha1`

  Values: `sha1`, `sha256`

- `--reason <REASON>`

  Reason for the request, recorded with it

  Default: `""`

## Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## Examples

```sh
af create-repository web --reason "the web app"
af create-repository legacy --objects sha1
```

Source: https://docs.forge.workreef.dev/reference/af/create-repository/index.mdx
