1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# PostGit
Tool for transferring data between Git (Git's Object DB) and Postgres.
- Use git history to populate tables and audit tables
- Use audit tables to populate git history
- Repo settings, notes, and other misc. info can be stored (and read by distgit)
Fundamentally, a git repo unpacks into a single schema with the following tables:
- objects
- refs
And the following views:
- blobs
- trees
- commits
- tags (Note this refers to Annotated Tags, not a reference in `refs/tags/`.)
You can pack as many such schemas into a database as you want, but the default behavior of PostGit's PG Export is to create a new database and export to the "public" schema.