Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Git filesystem

emersion edited this page Jun 4, 2014 · 3 revisions

Git filesystem is an extension of the default filesystem and provides a file version control system. Thus, each change in the filesystem is tracked, older versions can be opened and restored at any time.

The filesystem is based on Git.

Configuration

The configuration is stored in /etc/gitfs.json. Here is an example:

{
	"enabled": false,
	"gitCommand": null,
	"environmentVariables": {},
	"processTimeout": 3600
}
  • enabled: true to enable Git support
  • gitCommand: if git is not in your $PATH, specify the Git command here
  • environmentVariables: environment variables to set each time git is executed
  • processTimeout: sometimes Git operations can be long, especially when initializing a non-empty Git repository. You can here adjust the process timeout (in seconds).

Usage

After having activated Git filesystem, a new tab named Versions in file properties (Right click on a file > Properties) appears. There you can open and restore older versions.

Clone this wiki locally