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
  • Arguments
  • Options

Was this helpful?

  1. KIT CLI Reference
  2. repo

hook

The hook command provides handlers for responding to various git hooks or lifecycle events such as pre-push event.

This command may not be used directly since kit config will create and configure the hooks.

Usage

kit repo hook [options] <remote>
Handles git hook events

Usage:
  kit repo hook [flags] <remote>

Flags:
  -h, --help          help for hook
  -c, --post-commit   Executes the hook in post-commit mode

Arguments

  • remote - When the command is used as a pre-push hook, the target remote of the push is passed via this argument.

Options

  • -c, --post-commit - Indicates that the hook was fired in response to git's post-commit hook event.

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

PreviouscreateNextinit

Last updated 4 years ago

Was this helpful?