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
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) orsha1Values:
sha1,sha256 -
--reason <REASON>Reason for the request, recorded with it
Default:
""
Global options
Every af command also takes the global options.
Examples
af create-repository web --reason "the web app"
af create-repository legacy --objects sha1