pygit2
  • Installation
  • Recipes
    • High Level Commands
      • Main porcelain commands
        • git-cherry-pick (Apply the changes introduced by some existing commits.)
        • git-init (Create an empty git repository or reinitialize an existing one.)
        • git-log (Show commit logs.)
        • git-show (Show various types of objects.)
        • git-tag (Create, list, delete or verify a tag object signed with GPG.)
        • git clone (Clone with progress monitor)
        • git clone --mirror (Clone with a mirroring configuration)
        • git clone username@hostname (Clone over ssh)
        • git-add / git-reset HEAD (Add file contents to the index / Unstage)
        • git commit (Make an initial commit, and a subsequent commit)
  • General
  • Backends
  • Blame
  • Branches
  • Commit log
  • Configuration files
  • Diff
  • Feature detection
  • Index file & Working copy
  • Mailmap
  • Merge & Cherrypick
  • Objects
  • Object IDs
  • Packing
  • References
  • Remotes
  • Repository
  • Revision parsing
  • Settings
  • Submodules
  • Worktrees
  • The development version
pygit2
  • »
  • Recipes
  • View page source

Recipes

A list of some standard git commands and their pygit2 equivalents. This document is a work in progress, and is organized according to the git man page.

High Level Commands

Main porcelain commands

  • git-cherry-pick (Apply the changes introduced by some existing commits.)
  • git-init (Create an empty git repository or reinitialize an existing one.)
  • git-log (Show commit logs.)
  • git-show (Show various types of objects.)
  • git-tag (Create, list, delete or verify a tag object signed with GPG.)
  • git clone (Clone with progress monitor)
  • git clone --mirror (Clone with a mirroring configuration)
  • git clone username@hostname (Clone over ssh)
  • git-add / git-reset HEAD (Add file contents to the index / Unstage)
  • git commit (Make an initial commit, and a subsequent commit)
Previous Next

© Copyright 2010-2021 The pygit2 contributors.

Built with Sphinx using a theme provided by Read the Docs.