gitfs

module
v1.4.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT

README

gitfs

golangci-lint Go package codecov

FUSE filesystem for browsing contents of git repositories revisions.

asciicast

Requirements
  • Linux or macOS
  • Installed fuse library (libfuse-dev on Debian/Ubuntu) or osxfuse on macOS
Install

with Homebrew

brew install dsxack/tap/gitfs

or with Go

go install github.com/dsxack/gitfs/cmd/gitfs@latest
Usage

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
License

MIT

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL