Skip to content

CyberShadow/git-fuse

Repository files navigation

git-fuse

A FUSE filesystem for mounting Git repositories. Exposes the Git index (staging area) as read-write and commits as read-only.

Building

With Nix:

nix build

With dub:

dub build

Usage

git-fuse <repo-path> <mount-point>

For example:

mkdir /tmp/mnt
git-fuse . /tmp/mnt

Then browse:

  • /tmp/mnt/index/ - read-write access to staged files
  • /tmp/mnt/commits/<sha>/ - read-only access to any commit

To unmount:

fusermount -u /tmp/mnt

Options

  • -f, --foreground - run in foreground (don't daemonize)
  • -o, --options=STR - additional FUSE options (e.g. debug)

Testing

nix flake check

License

MPL 2.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors