pygit2
  • Installation
  • pygit2 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 --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)
  • General
  • Backends
  • Blame
  • Branches
  • Commit log
  • Configuration files
  • Diff
  • Feature detection
  • Index file & Working copy
  • Mailmap
  • Merge & Cherrypick
  • Objects
  • Object IDs
  • References
  • Remotes
  • Repository
  • Revision parsing
  • Settings
  • Submodules
  • Worktrees
  • The development version
pygit2
  • »
  • pygit2 Recipes
  • View page source

pygit2 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 --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)
Next Previous

© Copyright 2010-2020 The pygit2 contributors

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