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)