memfs
Version:
In-memory file-system with Node's fs API.
17 lines (11 loc) • 476 B
Markdown
# `isomorphic-git` running on `memfs` in-memory file system
This demo shows how to run `isomorphic-git` on `memfs` in-memory file system. It
creates a new folder `/repo`, then inits a Git repository there, then creates a
a file `/repo/README.md` and commits it.

Run:
```
yarn
npx ts-node demo/git/index.ts
```
The demo will print the snapshot of the file system after each step.