Documentation
WebsiteMineGitHubFaucet
  • Welcome to MakeOS
  • Introduction
    • Install
    • Quick Start
    • Set Up a Private Network
    • Get Test Coins
    • Track a Repository
    • What is MakeOS
    • How it Works
    • Tokenomics ($MAKE)
    • Dilithium (Deprecated)
    • Roadmap
    • Team
  • Concepts
    • Repository
      • Register a Repository
      • Initialize a New Repository
      • Repository Governance
      • Access Control Config
    • Namespace
    • Key
    • Issue Management
    • Merge Request
    • Transactions
      • Register a Repository
      • Send Coins
    • Validator
    • Host
    • Remote
  • JavaScript Console API
    • repo
    • pushkey
    • namespace
    • node
    • user
    • transaction
    • ticket
  • KIT CLI Reference
    • Overview
    • init
    • start
    • console
    • attach
    • key
      • create
      • gen
      • get
      • import
      • list
      • update
    • tx
      • get
    • repo
      • config
      • create
      • hook
      • init
      • vote
    • user
      • send
    • pk
      • register
    • sign
      • commit
      • note
      • tag
    • contributor
      • add
    • issue
      • close
      • create
      • list
      • read
      • reopen
      • status
    • mr
      • checkout
      • close
      • create
      • fetch
      • list
      • read
      • reopen
      • status
Powered by GitBook
On this page
  • Usage
  • Options
  • Example

Was this helpful?

  1. KIT CLI Reference
  2. sign

commit

The commit command signs the recent commit of a branch and creates a push request token that can be added to the push request to the remote server.

Usage

kit sign commit [options]
Flags:
      --head string       Specify the branch to use as git HEAD
  -h, --help              help for commit
  -m, --merge-id string   Provide a merge proposal ID for merge fulfilment

Options

  • --head - The name of the branch that needs to be signed.

  • -m, --merge-id - Provide the ID of a merge request proposal that the commit fulfils.

  • -h, --help - Prints out a help message.

Sign Options

  • -f, --fee - The number of coins to pay as the network transaction fee.

  • -n, --nonce - The next nonce of the signer's account (current nonce + 1).

  • -v, --value - The number of coins to transfer from the signer's account.

  • -u, --signing-key - The address or index of a key that will be used to sign the transaction.

  • -p, --signing-key-pass - The passphrase that will be used to unlock the signing key.

Example

  • Sign and create a push token for the latest commit.

kit sign commit
  • Sign the latest commit on the dev branch.

kit sign commit -h "dev"
PrevioussignNextnote

Last updated 4 years ago

Was this helpful?