FUSE filesystem for browsing contents of git repositories revisions.
- Linux or macOS
- Installed fuse library (libfuse-dev on Debian/Ubuntu) or macFUSE on macOS
with Homebrew
brew install dsxack/tap/gitfs
or with Go
go install github.com/dsxack/gitfs/cmd/gitfs@latest
Mount
gitfs mount <repository url> <mountpoint>
Mounting local repository
gitfs mount /home/dsxack/work/project /mnt/project
Mounting remote repository (repository will be cloned into memory)
gitfs mount https://github.com/dsxack/go /mnt/go
Mount in daemon mode
gitfs mount -d <repository> <mountpoint>
Umount previously mounted in daemon mode filesystem
gitfs umount <mountpoint>
Mount with verbose logging for debugging reasons
# Info
gitfs mount https://github.com/dsxack/go /mnt/go -v
# Debug
gitfs mount https://github.com/dsxack/go /mnt/go -vv
# Trace
gitfs mount https://github.com/dsxack/go /mnt/go -vvv