Live data from Hacker News

Show HN: Gitfs – mount Git repos as local folders

presslabs.com

51–60 of 63 posts

Re: Show HN: Gitfs – mount Git repos as local folders

#51

I think this kind of file system would do well to power platforms that AREN'T for programmers. While this may not seem useful for programmers (because they are so involved in git usage in the first place), I think others might benefit I've had the idea to make an interative design/architecture plugin for programs like photoshop/3dmax/etc rolling around in my head for a while now. Git is a perfect way to store/save th…

I don't know, judging by all the gnashing of the teeth I get when I answer questions with something like "you should actually learn how to use git instead of banging your head against the wall with this wrapper for it" developers could use it too.

Re: Show HN: Gitfs – mount Git repos as local folders

#52
This is reminiscent of Apple's Time Machine, except each save is the same as manually clicking "Back Up Now", and I assume that commits are more granular so directories can be committed individually rather than the whole tree.

I've often wondered if version control systems could be abstracted into a filesystem where each write is a commit, handling merges by choosing the local copy.

My primary dissatisfaction with git is that it lacks layers of abstraction. For example it should have had at least the first two distinct components listed below, something like:

1) git-fs (versioned filesystem, only supporting commit, clone and permissions)

2) git-merge (diff utility to handle merge conflicts)

3) git-local (two repositories wrapped in an abstraction to provide local and remote - the special sauce of git)

4) git-util (everything else like repair, reports, statistics, etc)

5) git (umbrella executable above previous layers)

I’m not super familiar with git console use so if it already is organized this way, great. But since it is not presented this way in its documentation, I feel that a great opportunity has been missed. We could have used git-fs the same way that people use Dropbox. Instead we have something with a lot of warts (things like .gitignore files interspersed with other files that continue the same mistakes that cvs and svn made, and the inability to save empty directories). I think git’s pattern of pull/commit/push is fantastic, but its shortcomings are so numerous that I’m going to stop knocking it right here before I get myself in trouble.

If gitfs ran on the Mac, I’d probably be using it right now to avoid frequent headaches where git interferes with the simplest pattern of pulling, merging by hand and pushing all files back if nobody else has committed in the meantime. I think that’s the motivation behind a library like this, because so many version control systems get the filesystem metaphor wrong and create two much friction by touting their various levers.

Re: Show HN: Gitfs – mount Git repos as local folders

#54

I think this kind of file system would do well to power platforms that AREN'T for programmers. While this may not seem useful for programmers (because they are so involved in git usage in the first place), I think others might benefit I've had the idea to make an interative design/architecture plugin for programs like photoshop/3dmax/etc rolling around in my head for a while now. Git is a perfect way to store/save th…

> I've had the idea to make an interative design/architecture plugin for programs like photoshop/3dmax/etc Hah, same idea here. I used to live with 3d artists, and I asked "How do you live without Git?!", they said they version their files into milestones (e.g. environment-milestone1.3ds) and upload them all to Dropbox. I think Git wouldn't gain as much traction as you'd expect, there's just easier (for non-programme…

Yeah, was watching some designer friends of mine, and they have all this back and forth with clients, and keep immaculate notes with every stage of the transformation (from concept to finished design), I was wondering why in the world it wasn't automated.

Yeah, I'm not really planning on introducing them to git, more using git behind the scenes to get all those good qualities (undos, infinite history, instant backup) that someone might think was hard (that didn't know git)

Re: Show HN: Gitfs – mount Git repos as local folders

#55

This is reminiscent of Apple's Time Machine, except each save is the same as manually clicking "Back Up Now", and I assume that commits are more granular so directories can be committed individually rather than the whole tree. I've often wondered if version control systems could be abstracted into a filesystem where each write is a commit, handling merges by choosing the local copy. My primary dissatisfaction with gi…

There is an update to the docs on how to install it on OSX: http://www.presslabs.com/gitfs/docs/usage/

Re: Show HN: Gitfs – mount Git repos as local folders

#56
post #50

I think this kind of file system would do well to power platforms that AREN'T for programmers. While this may not seem useful for programmers (because they are so involved in git usage in the first place), I think others might benefit I've had the idea to make an interative design/architecture plugin for programs like photoshop/3dmax/etc rolling around in my head for a while now. Git is a perfect way to store/save th…

Git is awful for photoshop. This is also a pretty crowded market place with pixelapse, layervault, etc.

A little more detail on the first statement would be great (outside of what people have posted already).

And yeah, I know it's been done before -- but that only proves that the market is there, and more importantly investors (notably YC) think it's worth it to pursue.

I doubt I could do as great a job as some of these products and their engineering teams, but then again, I don't know that I have to. I think it'd be a fun open source project.

Re: Show HN: Gitfs – mount Git repos as local folders

#58
post #55

This is reminiscent of Apple's Time Machine, except each save is the same as manually clicking "Back Up Now", and I assume that commits are more granular so directories can be committed individually rather than the whole tree. I've often wondered if version control systems could be abstracted into a filesystem where each write is a commit, handling merges by choosing the local copy. My primary dissatisfaction with gi…

There is an update to the docs on how to install it on OSX: http://www.presslabs.com/gitfs/docs/usage/

Followed OS X insx but hit a wall with 'mount.fuse

What is mount.fuse?

I installed Python fuse.py... still poking around...

Re: Show HN: Gitfs – mount Git repos as local folders

#59
post #58
post #55

Earlier quoted context omitted.

There is an update to the docs on how to install it on OSX: http://www.presslabs.com/gitfs/docs/usage/

Followed OS X insx but hit a wall with 'mount.fuse What is mount.fuse? I installed Python fuse.py... still poking around...

Figured it out:

I double checked the install - that everything linked properly etc.

For OS X users do this:

/usr/local/bin/gitfs

and then you'll see a new volume mount on the desktop like "OSXFUSE Volume 0 (python 2.7)"

Post reply on HN