Linux ls grep not working2/28/2024 ![]() Lr-xr-xr-x 59 bork mac-version-debugging ->. ![]() This mirrors how git works under the hood. In the filesystem mounted by git-commit-folders, commits are the only real folders – everythingĮlse (branches, tags, etc) is a symlink to a commit. _config.yml config.rb Rakefile rubypants.rb source To explore your old commits, you can do it just by exploring the filesystem!įor example, if I look at the initial commit for my blog, it looks like this: $ ls commits/8d/8dc0/8dc0cb0b4b0de3c6f40674198cb2bd44aeee9b86/Īnd a few commits later, it looks like this: $ ls /tmp/git-homepage/commits/c9/c94e/c94e6f531d02e658d96a3b6255bbf424367765e9/ So in git-commit-folders, every commit is actually a folder, and if you want It’s just that git commits aren’t actually implemented as folders to save After all, git commits really are very similar toįolders – every Git commit contains a directory listing of the files in it,Īnd that directory can have subdirectories, etc. The main reason I wanted to make this was to give folks some intuition for how Some of the problems I ran into while writing it. To write and I’ve enjoyed using it myself on small repositories so here are Software to have or just a fun toy to think about how git works) but it was fun It’s pretty experimental (I’m not sure if this is actually a useful piece of It works (at least on my computer) with both FUSE and NFS, and there’s a broken WebDav Mac OS other than FUSE, so I built a project that does that called So I thought it would be fun to experiment with ways to mount filesystems on Also I had a few ideas for how to organize theįilesystem differently than those projects. Hello! The other day, I started wondering – has anyone ever made a FUSEįilesystem for a git repository where all every commit is a folder? It turnsīut FUSE is pretty annoying to use on Mac – you need to install a kernelĮxtension, and Mac OS seems to be making it harder and harder to install kernelĮxtensions for security reasons.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |