 5b50579790
			
		
	
	5b50579790
	
	
	
		
			
			It's not necessarily obvious how to perform a mirror, so add a recipe which tells what git does as well as provide example code of how to perform the same steps in pygit2.
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| **********************************************************************
 | |
| 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
 | |
| ======================================================================
 | |
| 
 | |
| .. toctree::
 | |
|    :maxdepth: 1
 | |
| 
 | |
|    git-cherry-pick (Apply the changes introduced by some existing commits.) <recipes/git-cherry-pick>
 | |
|    git-init (Create an empty git repository or reinitialize an existing one.) <recipes/git-init>
 | |
|    git-log (Show commit logs.) <recipes/git-log>
 | |
|    git-show (Show various types of objects.) <recipes/git-show>
 | |
|    git-tag (Create, list, delete or verify a tag object signed with GPG.) <recipes/git-tag>
 | |
|    git clone --mirror (Clone with a mirroring configuration) <recipes/git-clone-mirror>
 | |
| 
 | |
| .. _git man page: https://www.kernel.org/pub/software/scm/git/docs/git.html
 |