https://github.com/textshell/gitindexfs
A git index file system
https://github.com/textshell/gitindexfs
Last synced: 4 months ago
JSON representation
A git index file system
- Host: GitHub
- URL: https://github.com/textshell/gitindexfs
- Owner: textshell
- License: other
- Created: 2018-02-25T16:15:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-25T16:17:09.000Z (over 7 years ago)
- Last Synced: 2025-01-25T07:41:24.240Z (6 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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 _indexUnmount with
$ fusermount -u _index
Thanks
------This program was initially based on legitfs by Marc Brinkmann (see https://github.com/mbr/legitfs/ )