https://github.com/creationix/git-repo
A local git repository using any pluggable backend.
https://github.com/creationix/git-repo
Last synced: about 1 year ago
JSON representation
A local git repository using any pluggable backend.
- Host: GitHub
- URL: https://github.com/creationix/git-repo
- Owner: creationix
- Created: 2013-06-13T21:52:47.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-25T15:33:36.000Z (almost 13 years ago)
- Last Synced: 2025-03-24T04:13:24.221Z (about 1 year ago)
- Language: JavaScript
- Size: 230 KB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
git-repo
========
A local git repository using any pluggable backend.
## Commit
```
{
hash: hash,
commit: {
tree: hash
parents: [parent1, parent2, ...]
key: value
key2: value2
...
message: message
}
}
```
## Tree
```
{
hash: hash,
tree: {
path: {mode: mode, hash: hash},
path2: {mode: mode, hash: hash},
...
]
}
```
## Blob
```
{
hash: hash,
blob: {
size: size
source: source
}
}
```
## Tag
```
{
hash: hash,
tag: {
tree: hash
key: value
key2: value2
...
message: message
}
}
```