TIL

GitFS

Ever imagined a filesystem with Git capabilities? Imagine you are editing some document, and you consciously keep saving the same every 2 mins. In the last one hour you have done 30 saves. Now you realise you need to get a version which was a week old and was probably most correct. You just open the commit history and revert to that version. In fact you can actually navigate through the entire history since the file came into existence. It works with remote repositories – just like Github. GitFS basically wraps this functionality for end users – someone who does not want to manage the commits by themselves.

GitFS is a FUSE filesystem and is fully integrated with Git, built by PresslabsFUSE – is filesystem in userspace which is built to have more control on filesystems for the processes running in user space. Using FUSE non privileged users can mount their own file systems which means they don’t have to deal with kernel code.

Remote git repositories can be cloned and mounted locally. Any changes made to the files in this filesystem are tracked and pushed to remote automatically. GitFS can have many applications when it comes to file version management at multiple locations.

Some of the alternatives to GitFS are git-annex (open source) and Dropbox (with pricing plan).

Let me know your thoughts on this topic. Do you use something similar? What is it? I would also be interested in knowing some interesting ideas around the application of this tool.

Categories:TIL

Tagged as: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s