gitprotocol-common - Linux


Overview

gitprotocol-common is a script that provides a common set of definitions for commands that support the Git protocol. It defines the protocol version and the request/response codes used by Git commands.

Syntax

gitprotocol-common -v | --version

Options/Flags

-v, –version: Print the version of the Git protocol.

Examples

To print the version of the Git protocol, run:

gitprotocol-common -v

Common Issues

None.

Integration

gitprotocol-common is used by the following Git commands:

  • git-upload-pack
  • git-receive-pack
  • git-fetch-pack

Related Commands

  • git