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 testto run the teststask installto install thegit-goto the GOPATHtask buildto create agitbinary in the./bindirectorytask dev -wto have the binary at./bin/gitautomatically 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.