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 Presslabs. FUSE – 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.
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.