frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Gitfold – every Git branch as a folder, ready in a second

https://github.com/pkukielka/gitfold
1•pkuki•10m ago
Hi HN!

I want to show you a project which I'm using myself to save time on worktrees creation and management. My case is a bit specific because I'm normally working on a really big monorepo, where creation of a worktree takes around a minute and 20+GB of disk space. Previously I was using a pool of worktrees which were managed by my own sessions manager. It worked, but was a bit clunky and sometimes I was running out of the worktrees anyway.

As a fun side-project I decided to create a VFS for serving git branches directly from the git object store, with only one real checkout needed. I started with read only version to speed-up the reviews (I often checkout the PRs code to get LLM support) and that is very easy to do with FUSE, but it would not let me fully replace my old solution. Adding write capabilities was a bit more involved, and writing without full kernel passthrough turned out to be a few times slower. But interestingly for my workflows it does not matter. I was also running some external tests like full Linux kernel build (allmodconfig) and the performance hit vs a native build was around 2.5%. So far so good!

After building the core I realised that having VFS allows me to play with other interesting features. And I implemented a few:

- tree structure of branch dependencies; you can e.g. have branch 'api', on which 'store' and 'ui' depend. When you add or fetch new commits to 'api', whole tree rebases automatically

- read only views showing "merged" state of each node in the tree from the previous point; e.g. you can check how 'api' branch would look like, if both 'store' and 'ui' would be merged as is; currently it has two modes: only committed or all changes

- command for showing conflicts between current worktree and all other open worktrees

- command for showing all worktrees touching given file of interest

- agents getting real time notifications about potential conflicts

What is also important is that it works without an issue with all native git commands. Git sees those workspaces as normal worktrees. So you can e.g. normally rebase every such worktree separately (which is one of the main differences compared to overlayfs). I'm sure some people will think this project is very similar to GitFS, EdenFS, OverlayFS, ArtifactFS, etc... spoiler alert: it is not. Most of those projects are focusing on fetching objects from remote git server lazily. Which I can imagine is very useful if you need a fresh checkout on a new instance (eg. in a CI). But that is not my use case. I have a full local checkout, and need to be able to create and delete on demand a lot of worktrees. That is it :) But I also prepared a full comparison, just in case: https://github.com/pkukielka/gitfold/blob/main/docs/comparis...

I'm happy to answer any questions!

Uncorrelated Perspectives

https://sive.rs/portfolio
2•Curiositry•2m ago•0 comments

Teaching a Web Page to Read a Chess Board

https://dennisforbes.ca/blog/2026/11/reading_a_chess_board_from_a_picture/
1•llm_nerd•4m ago•0 comments

WSJ, Streetwise: Has the AI Bubble Already Burst?

https://www.wsj.com/finance/stocks/has-the-ai-bubble-already-burst-2f1dcca8
1•levzettelin•5m ago•0 comments

Actually, You Could Possibly

https://justismills.substack.com/p/actually-you-could-possibly
1•paulpauper•8m ago•0 comments

Videogames are NOT a waste of time?

https://benedictide.com/posts/toolong2/
1•paulpauper•9m ago•1 comments

Show HN: Gitfold – every Git branch as a folder, ready in a second

https://github.com/pkukielka/gitfold
1•pkuki•10m ago•0 comments

Ask HN: State of the Captcha

3•basilikum•10m ago•0 comments

Show HN: Mapped wild edible plants and fungi near you

https://edibilia.org/map
1•sriacha•10m ago•0 comments

Verifying formal models of Raft implementations

https://antithesis.com/blog/2026/verifying-formal-models/
1•birdculture•11m ago•0 comments

Coding Adventure: Chess [video]

https://www.youtube.com/watch?v=U4ogK0MIzqk
1•ansipunk•14m ago•0 comments

Show HN: World Map Chess – Turn-based strategy on a 235-country map

https://treegame.net/quick-play/world-map-chess
1•rashidiub786•15m ago•0 comments

Was software just always too complex for humans?

https://anil.recoil.org/notes/software-too-complex-for-humans
3•nathcd•16m ago•2 comments

Nyno 10 open-source release: Derisk AI. Separate Code from Configuration

https://github.com/flowagi-eu/nyno
2•theyogadev•17m ago•1 comments

Tend. one local page for all your Claude Code sessions

https://github.com/Geekgineer/tend
2•geekgineer•20m ago•0 comments

The Riemann Hypothesis: a million dollar mystery – Emanuel Carneiro – 2017 [video]

https://www.youtube.com/watch?v=Pm0j5hFF1yU
3•Eridanus2•21m ago•0 comments

Show HN: Fedijar – The Search Mastodon servers meant to have

https://fedijar.com
2•saneefansari•23m ago•0 comments

Show HN: Aitho – slides that advance when you say the words, not when you click

https://present.aitho.app/try
1•aumar2•26m ago•0 comments

Are you clinging to the TUI to feel like a developer?

1•TomEleff•28m ago•0 comments

Ask HN: Could AI's RH proof have used human work found in its training data?

2•nomilk•28m ago•1 comments

Vector and Similarity Search, by Hand

https://www.huy.rocks/everyday/11-21-2026-math-linear-algebra-notes-vector-and-similarity-search-...
1•huydotnet•28m ago•0 comments

Nospeaker: Make your MacBook's trackpad talk using its haptic motor

https://github.com/os6/nospeaker
2•vikrum•29m ago•0 comments

Tor Community Fellowship

https://forum.torproject.org/t/call-for-applications-tor-community-fellowship/22490
1•farhan291•29m ago•0 comments

When services fail, we see what they are made of

https://good.services/writing/when-services-fail-we-see-what-they-are-made-of
2•adrianhoward•30m ago•0 comments

Show HN: Exploitwatch – Alerts for vulnerable Docker containers (e.g. PHP2Shell)

https://github.com/marioleal/exploitwatch
1•ympb121•30m ago•1 comments

Inside an AI prophet's secretive visions for humanity's future

https://www.washingtonpost.com/technology/2026/11/22/inside-an-ai-prophets-secretive-plans-humani...
1•pretext•31m ago•0 comments

Ask HN: Why do these LLM models seem to improve like clockwork over time?

2•iknownthing•35m ago•2 comments

Liseur: Android ePub Reader

https://github.com/chmouel/liseur
1•swapnilmj•35m ago•1 comments

Enrico Fermi Doesn't Blow Up Chicago

https://colab.research.google.com/drive/1LNey4n-V8QciZLhcUSR7IUOKeId_58KP?usp=sharing
1•Eridanus2•35m ago•1 comments

A fast image processing library with low memory needs

https://github.com/libvips/libvips
2•SweetSoftPillow•35m ago•0 comments

Cybermacs 3D Window Manager

https://kibotronics.net/projects/cybermacs/
1•Kiboneu•37m ago•0 comments