Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Files

Latest commit

bf61908 · Jun 8, 2018

History

History
This branch is 73 commits ahead of, 329 commits behind src-d/go-git:master.

_examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 8, 2018
Apr 12, 2017
Mar 21, 2017
Nov 20, 2017
Nov 20, 2017
Mar 7, 2017
Apr 11, 2017
Apr 11, 2017
Mar 7, 2017
Aug 14, 2017
Mar 7, 2017
Aug 1, 2017
Dec 1, 2017
Apr 11, 2017
Sep 9, 2017
Jul 17, 2017
Jan 15, 2018
Dec 1, 2017
Jan 15, 2018

go-git: examples

Here you can find a list of annotated go-git examples:

Basic

  • showcase - A small showcase of the capabilities of go-git
  • open - Opening a existing repository cloned by git
  • clone - Cloning a repository
  • commit - Commit changes to the current branch to an existent repository
  • push - Push repository to default remote (origin)
  • pull - Pull changes from a remote repository
  • checkout - Check out a specific commit from a repository
  • log - Emulate git log command output iterating all the commit history from HEAD reference
  • branch - How to create and remove branches or any other kind of reference.
  • tag - List/print repository tags
  • remotes - Working with remotes: adding, removing, etc
  • progress - Printing the progress information from the sideband
  • revision - Solve a revision into a commit

Advanced