frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Git-Annex

https://git-annex.branchable.com/
64•keepamovin•3h ago

Comments

EmilStenstrom•1h ago
Happy to see use cases front and center in command line documentation. They seem to always start with ”obscure command flag that you’ll probably never use”.
ygritte•1h ago
Could this be abused to simulate something like SVN externals? I always found git submodules to be a very bad replacement for that.
fragmede•1h ago
GitHub really embraced the Microsoft-esque NIH with LFS, instead of adopting git-annex.
keepamovin•1h ago
To its absolute detriment

Here is a talk by a person who adores it: Yann Büchau: Staying in Control of your Scientific Data with Git Annex https://www.youtube.com/watch?v=IdRUsn-zB2s

codemac•1h ago
While Yann has built many things with git-annex, we should be clear that the creator of git-annex is relatively singular, Joey Hess.
keepamovin•1h ago
Here is a comment about Joey: https://news.ycombinator.com/item?id=14908529

And an interview When power is low, I often hack in the evenings by lantern light. https://usesthis.com/interviews/joey.hess/

mathstuf•1h ago
While I also find git-annex more elegant, its cross-platform story is weaker. Note that LFS was originally a collaboration between GitHub and Bitbucket (maybe? Some forge vendor I think). One had the implementation and the other had the name. They met at a Git conference and we have what we have today. My main gripes these days are the woefully inadequate limits GitHub has in place for larger projects. Coupled with the "must have all objects locally to satisfy an arbitrary push", any decently sized developer community will blow the limit fairly quickly.

FD: I have contributed to git-lfs.

andrewmcwatters•1h ago
git-annex has some really awkward documentation.

You can apparently do, sort of, but not really, the same thing git-fetch-file[1] does, with git-annex:

    git fetch-file add https://github.com/icculus/physfs.git "**" lib/physfs-main
    git fetch-file pull
`add` creates this at `.git-remote-files`:

    [file "**"]
    commit = 9d18d36b5a5207b72f473f05e1b2834e347d8144
    target = lib/physfs-main
    repository = https://github.com/icculus/physfs
    branch = main
But git-annex's documentation goes on and on about a bunch of commands I don't really want to read about, whereas those two lines and that .git-remote-files manifest just told you what git-fetch-file does.

[1]: https://github.com/andrewmcwattersandco/git-fetch-file

nolist_policy•1h ago
Not at all. git-annex is for managing large files in git and unlike git-lfs it preserves the distributed nature of git.
keepamovin•36m ago
Here is a guide you might like: https://www.youtube.com/watch?v=p0eVyhv2rbk
nolist_policy•1h ago
I use git-annex to manage all my data on all my drives. It automatically keeps track of which files are on which drives, it ensures that there are enough copies and it checksums everything. It works perfectly with offline drives.

git-annex can be a bit hard to grasp, so I suggest to create a throw-away repository, following the walkthrough[1] and try things out. See also workflows[2].

[1] https://git-annex.branchable.com/walkthrough/

[2] https://git-annex.branchable.com/workflow/

albertzeyer•18m ago
How much data do you have? I'm using git-annex on my photos, and that are around 100k-1M files, several TB of data, on a ZFS. In the beginning, everything was fine, but it starts to become increasingly slow, such that every operation takes several minutes (5-30 mins or so).

I wonder a bit whether that is ZFS, or git-annex, or maybe my disk, or sth else.

Munksgaard•46m ago
Git-Annex is a cool piece of technology, but my impression is that it works best for single-user repositories. So for instance, as @nolist_policy described in a sibling comment, managing all your personal files, documents, music, etc. across many different devices.

I tried using it for syncing large files in a collaborative repository, and the use of "magic" branches didn't seem to scale well.

ttiurani•46m ago
Relevant discussion 9 days ago about the new native git large object promisers in "The future of large files in Git is Git":

https://news.ycombinator.com/item?id=44916783

What Are OKLCH Colors?

https://jakub.kr/components/oklch-colors
62•tontonius•50m ago•18 comments

Bro, ban me at the IP level if you don't like me

https://boston.conman.org/2025/08/21.1
168•classichasclass•2h ago•70 comments

Git-Annex

https://git-annex.branchable.com/
64•keepamovin•3h ago•15 comments

MCP Gateway and Registry

https://github.com/IBM/mcp-context-forge
22•nikhilk218•1h ago•5 comments

Busy beaver hunters reach numbers that overwhelm ordinary math

https://www.quantamagazine.org/busy-beaver-hunters-reach-numbers-that-overwhelm-ordinary-math-202...
104•defrost•2d ago•26 comments

Show HN: Sping – An HTTP/TCP latency tool that's easy on the eye

https://dseltzer.gitlab.io/sping/docs/
107•zorlack•7h ago•8 comments

In-Memory Filesystems in Rust

https://andre.arko.net/2025/08/18/in-memory-filesystems-in-rust/
20•ingve•1d ago•6 comments

From Hackathon to YC

https://www.producthunt.com/p/april-yc-s25/from-hackathon-to-yc
32•rmason•9h ago•15 comments

The Unix-Haters Handbook (1994) [pdf]

https://simson.net/ref/ugh.pdf
44•oliverkwebb•6h ago•7 comments

We put a coding agent in a while loop

https://github.com/repomirrorhq/repomirror/blob/main/repomirror.md
206•sfarshid•15h ago•134 comments

Is 4chan the perfect Pirate Bay poster child to justify wider UK site-blocking?

https://torrentfreak.com/uk-govt-finds-ideal-pirate-bay-poster-boy-to-sell-blocking-of-non-pirate...
229•gloxkiqcza•14h ago•260 comments

YouTube used AI to edit videos without telling users

https://www.bbc.com/future/article/20250822-youtube-is-using-ai-to-edit-videos-without-permission
37•jakub_g•20h ago•16 comments

The two versions of Parquet

https://www.jeronimo.dev/the-two-versions-of-parquet/
165•tanelpoder•3d ago•34 comments

A bubble that knows it's a bubble

https://craigmccaskill.com/ai-bubble-history
55•craigmccaskill•9h ago•21 comments

Burner Phone 101

https://rebeccawilliams.info/burner-phone-101/
339•CharlesW•4d ago•138 comments

Trees on city streets cope with drought by drinking from leaky pipes

https://www.newscientist.com/article/2487804-trees-on-city-streets-cope-with-drought-by-drinking-...
172•bookofjoe•2d ago•88 comments

Making games in Go: 3 months without LLMs vs. 3 days with LLMs

https://marianogappa.github.io/software/2025/08/24/i-made-two-card-games-in-go/
285•maloga•16h ago•192 comments

A Brilliant and Nearby One-off Fast Radio Burst Localized to 13 pc Precision

https://iopscience.iop.org/article/10.3847/2041-8213/adf62f
67•gnabgib•11h ago•9 comments

Cloudflare incident on August 21, 2025

https://blog.cloudflare.com/cloudflare-incident-on-august-21-2025/
165•achalshah•3d ago•33 comments

Everything I know about good API design

https://www.seangoedecke.com/good-api-design/
265•ahamez•12h ago•98 comments

Ghrc.io appears to be malicious

https://bmitch.net/blog/2025-08-22-ghrc-appears-malicious/
314•todsacerdoti•7h ago•47 comments

Uncle Sam shouldn't own Intel stock

https://www.wsj.com/opinion/uncle-sam-shouldnt-own-intel-stock-ccd6986d
143•aspenmayer•9h ago•141 comments

Show HN: Clearcam – Add AI object detection to your IP CCTV cameras

https://github.com/roryclear/clearcam
176•roryclear•19h ago•48 comments

Claim: GPT-5-pro can prove new interesting mathematics

https://twitter.com/SebastienBubeck/status/1958198661139009862
147•marcuschong•4d ago•95 comments

Show HN: I Built a XSLT Blog Framework

https://vgr.land/content/posts/20250821.xml
50•vgr-land•13h ago•21 comments

Y Combinator files brief supporting Epic Games, says store fees stifle startups

https://www.macrumors.com/2025/08/21/y-combinator-epic-games-amicus-brief/
158•greenburger•3d ago•152 comments

Halt and Catch Fire Syllabus (2021)

https://bits.ashleyblewer.com/halt-and-catch-fire-syllabus/
139•Kye•11h ago•48 comments

Stepanov's biggest blunder? The curious case of adjacent difference

https://mmapped.blog/posts/43-stepanovs-biggest-blunder
51•signa11•3d ago•12 comments

Comet AI browser can get prompt injected from any site, drain your bank account

https://twitter.com/zack_overflow/status/1959308058200551721
531•helloplanets•16h ago•184 comments

Bash Strict Mode (2014)

http://redsymbol.net/articles/unofficial-bash-strict-mode/
39•dcminter•2d ago•38 comments