17 lines
476 B
Markdown
17 lines
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.
|