Categorygithub.com/Nivl/git-go
repositorypackage
0.0.0-20220328024126-2ee2aa9d18c6
Repository: https://github.com/nivl/git-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Go Reference codecov Go Report Card Build Workflow

git-go

Basic git implementation in pure Go

Current features

CLI

Porcelain

  • init

Plumbing

  • hash-object
  • cat-file

Library

  • Retrieve objects
  • Write loose objects
  • Read/Write References

Roadmap

CLI

See the CLI project

Library

See the Library project

Dev

We use task as task runner / build tool. The main commands are:

  • task test to run the tests
  • task install to install the git-go to the GOPATH
  • task build to create a git binary in the ./bin directory
  • task dev -w to have the binary at ./bin/git automatically rebuilt with every change in the code

Getting Started with the lib

The git package should contain everything you need to do most of the common operations. For more advanced operations, you should use the ginternals package.

You can take a look at our smoke tests for examples of usage.