setup-git

Setup a shared Git repository for Genesis

This will set up a folder or an online Github repository to be used for Genesis. If it's local, it will create the folders but not set up a Git repository.

Usage

movement aptos genesis setup-git [OPTIONS] --layout-file <LAYOUT_FILE>

Options

  • --github-repository <GITHUB_REPOSITORY>

    Github repository e.g. 'aptos-labs/aptos-core'

    Mutually exclusive with --local-repository-dir

  • --github-branch <GITHUB_BRANCH>

    Github repository branch e.g. main

    [default: main]

  • --github-token-file <GITHUB_TOKEN_FILE>

    Path to Github API token. The token must have repo:* permissions

  • --local-repository-dir <LOCAL_REPOSITORY_DIR>

    Path to local git repository

    Mutually exclusive with --github-repository

  • --layout-file <LAYOUT_FILE>

    Path to the Layout file which defines where all the files are

Last updated