104 lines · 1.8 KB · Text
RawDownload
.TH GITFS 4.SH NAMEgit/fs \- git file server .SH SYNOPSIS git/fs[.B -d][.B -m.I mtpt] .SH DESCRIPTION .PP.I Git/fsserves a file system interface to a git repository in thecurrent directory.This file system provides a read-only view into the repository contents.By default, it is mounted on.B $repo/.git/fs.It does not cache mutable data, so any changes to the git repository will immediately be reflected in.IR git/fs . .PP.I Git/fsserves a few levels of hierarchy.The top level contains the following files and directories: .TP.B branchExposes branches. Branches are aliases for commit objects. .TP.B objectExposes all objects in the git repository.Objects may be commits, trees, or blobs. .TP.B HEADThis is an alias for the current commit. .PPCommits are also represented as small hierarchies. They containthe following files: .TP.B authorThis is the author of the commit.The contents of this file are free-form text, but conventionallythey take the form.B Full Name <email@domain.here> .TP.B hashThe commit id of the current branch .TP.B msgThe full text of the commit message. .TP.B parentThe list of parent commit ids of the current commit.One parent is listed per line. .TP.B treeA directory containing the tree associated with thecommit.The timestamp of the files contained within thishierarchy are the same as the date of the commit. .PPTrees are presented as directory listings, and blobsas files. .SH FILES.TP.B .gitThe git repository being mounted. .SH SOURCE.TP.B /sys/src/cmd/git/fs.c .SH "SEE ALSO".IR git (1).IR hg (1).IR hgfs (4) .SH BUGSSymlinks are only partially supported.Symlinks are treated as regular files when reading.Modifying symlinks is unsupported. .PPThere is no way to inspect the raw objects. This isa feature that would be useful for debugging.  

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t