Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/textshell/gitindexfs

A git index file system
https://github.com/textshell/gitindexfs

Last synced: about 1 month ago
JSON representation

A git index file system

Awesome Lists containing this project

README

        

gitindexfs
=======

gitindexfs is a `FUSE `_-filesystem that mounts
the index of a git repositories read only, allowing direct access to the staged
state of a git checkout through the filesystem.

Installation
------------

Use an python3 virtual env::

$ python3 -mvenv venv
$ ./venv/bin/pip install .

Example usage
-------------

Try this in an git checkout:

Create a mountpoint and mount the current directory:

$ mkdir _index
$ gitindexfs _index
$ ls _index

Unmount with

$ fusermount -u _index

Thanks
------

This program was initially based on legitfs by Marc Brinkmann (see https://github.com/mbr/legitfs/ )