pygit2
  • Installation
    • Requirements
    • Quick install
    • Build options
    • libgit2 within a virtual environment
    • Installing on Windows
    • Installing on OS X
  • The development version
  • pygit2 Recipes
    • High Level Commands
  • General
    • Constants
    • Errors
  • The repository
    • Functions
    • The Repository class
  • Object IDs
    • The three forms of an object id
    • The Oid type
    • Constants
  • Git Objects
    • Object lookup
    • The Object base type
    • Blobs
    • Trees
    • Commits
    • Tags
  • References
    • The Reference type
    • The HEAD
    • Branches
    • The Branch type
    • The reference log
    • Notes
  • Revision parsing
  • Commit log
  • The Index file and the Working copy
    • The Index type
    • Status
    • Checkout
  • Diff
    • The Diff type
    • The Patch type
    • The DiffDelta type
    • The DiffFile type
    • The DiffHunk type
    • The DiffStats type
    • The DiffLine type
  • Merge & Cherrypick
    • The merge method
    • Cherrypick
    • Lower-level methods
  • Configuration files
    • The Config type
  • Remotes
    • The remote collection
    • The Remote type
    • The RemoteCallbacks type
    • The TransferProgress type
    • The Refspec type
    • Credentials
  • The submodule
    • The Submodule type
  • Blame
    • The Blame type
    • The BlameHunk type
    • Constants
  • Settings
  • Feature detection
 
pygit2
  • Docs »
  • 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)
Next Previous

© Copyright 2010-2015 The pygit2 contributors.

Sphinx theme provided by Read the Docs