frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Fossil versus Git

https://fossil-scm.org/home/doc/trunk/www/fossil-v-git.wiki
59•vednig•2h ago

Comments

xnorswap•1h ago
It's missing what's sadly the only important difference:

  Git: Used by everyone else
  Fossil: Not used by everyone else

Everything else is kind of irrelevant. Git is hard to use and awkward to master, but you need to do so anyone to work with everyone else.

I wish it wasn't the case, but network effects are really important. Mercurial was a better DVCS launched around the same time as git but it lost out, not because "worse is better" but the network effects spreading out from the of the linux kernel itself.

grebc•1h ago
I’ve used GitHub and never learned the underlying mechanisms.

It’s not that big of a deal with a good UI. Reality is you just use whatever the people that pay you use.

kreco•1h ago
Before being used by everyone else Git was not used by everyone else.

Fossil is used for one of the most deployed embeddable database. Not sure we can call it "irrelevant".

I get what your message is saying, however words have meaning, and being hyperbolic does not help anyone when we try to bring nuances.

> Mercurial was a better DVCS [...]

Totally agree.

karamanolev•1h ago
I think the massive difference is the number of people using the project vs. contributing to the project. How many people contribute to SQLite vs the Linux kernel. AFAIK not many for the former.
dist-epoch•1h ago
And on top of that agents know git far better than fossil.

Maybe it is true that name is destiny after all.

dueyfinster•1h ago
I never had a good experience with mercurial from memory. Docs and examples weren't as good (not that Git was hugely better, but network effects had more resources available). I remember the CLI commands being a small bit more intuitive but as someone new to DVCS at the time (as most people would have been) - it didn't really do anything special to help new users get a handle on the mental model for how it works. I remember Facebook publicly using / backing it, was surprised they didn't do more to promote it.
jhasse•1h ago
I disagree that Mercurial was better. For example Git was always much faster.
megapoliss•37m ago
I remember that: for repos ~ 1Gb Mercurial just became unusable. It took half of day just to clone the repo.
graemep•1h ago
Gt was not successful because of network effects, but more monkey see monkey do imitation that people are prone to. Whatever is used for big projects must be the best, right?

I have recently returned to Fossil for personal stuff. IMO its better than git for one person projects and small teams. It was designed for a small team. What everyone else uses does not really matter for personal stuff. Nor does it matter if you are working with people willing to try something new. Nor does it matter to someone who can take a decision for a team.

It is also very easy to self host.

giancarlostoro•59m ago
> Everything else is kind of irrelevant. Git is hard to use and awkward to master, but you need to do so anyone to work with everyone else.

People will call me crazy, but you can tell Claude Code what you need with Git on your local repo and it will spit out the terminal incantations, you can also... tell it to run them after you read them.

frenzcan•51m ago
I used Mercurial before switching to git. The positive difference from switching was how branches worked. I don’t know the technical details but branches on git felt “lighter” to use and maintain than with Mercurial.
yomismoaqui•38m ago
Mercurial introduced bookmarks,it was something similar to git branches. But it was already too late, GitHub and Linus' weight did the rest.
megapoliss•36m ago
Bookmarks was there, like in 2012, but no one bothered to read the docs, and everyone continue to use heavy, non removable branches.
charlie-83•39m ago
This is why jj is the only other VCS I have been interested in. Compatibility with Git repos is a requirement for me
teekert•29m ago
"Fossil has inbound and outbound Git conversion features, so if you start out using one DVCS and later decide you like the other better, you can easily move your version-controlled file content."
pansa2•25m ago
> you need to [use Git] to work with everyone else

Programmers use different operating systems, editors, languages - is there any reason we all have to use the same source control tool? We weren’t doing so before Git came along.

9dev•17m ago
You could make that argument about HTTP, SMTP, Slack, or the English language. It turns out that yes, the actual concrete points of collaborative interaction do need to be standardised to a degree, unless you're thinking of everyone shouting into their particularly flavoured void, with no means of communicating. You can have different clients speaking the same protocol, but you can't have different protocols.

Even before git, you generally had to use what your team was using, or the FOSS project you were trying to contribute to. So it's kind of a moot point.

TacticalCoder•13m ago
> Mercurial was a better DVCS launched around the same time as git but it lost out, not because "worse is better" but the network effects spreading out from the of the linux kernel itself.

Yeah. I was using Mercurial and, reluctanctly, had to switch to Git. Now don't get me wrong: I was forced to use both CVS and SVN in a thankfully very distant past so I love Git. But I do miss Mercurial. We switched exactly for the reason you mentioned: Git simply won the market.

Git won, Magit is awesome. Then all the Github and whatnots. It's Git, Git and Git.

And never bet against Linus, either: the world runs on Linux (and that's a good thing) and every tech company in the world uses Git. That's just how it is.

Mercurial was a tiny bit better but not that much better that it'd compensate for the entire ecosystem and people gravitating towards Git.

lifetimerubyist•13m ago
Git didn’t win because of Linux. It won because of Github.
nahname•11m ago
Curious why you think Mercurial was a better product. I used it over a decade ago (coming off SVN) and it seemed to use a lot of similar concepts.
zzzeek•10m ago
Mercurial was not better. Features like rebase /squash are not native to mercurial (even though they since added extensions for this) and the tool had a very rigid view of the commit history. I had all my projects on Mercurial for several years after using SVN, because it felt more similar to SVN and I had no mental concept of why you'd ever want something so crazy as "rebase" - commit histories looked the way I always remembered them looking with SVN, with tons of tiny commits like "fix comma", "fix syntax", and no steady concept of a commit hash linked to a complete, working change, because that was something I had never seen before. Basically I just didn't get it.

Today my workflow is based on git + gerrit code review (which is heavily based around git), or in other areas github pull requests, and there is no such thing as a series of little commits that all hodge-podge together to form a particular change to the code, we tailor changes to be perfect, we push -f to keep each commit in the series to be a full and CI-tested story of a change, then we squash-merge them. My use with git is 100% all day things that were impossible with Mercurial back when I used it, if there are extensions for these things now, they are afterthoughts, git understood these concepts from the beginning.

NeutralForest•1h ago
fossil is really cool for the simple fact that you get your issues, tickets and wiki all stored in an SQLite DB. Feels neat and I wish I had more occasions to use it.
q3k•1h ago
What do yoh mean by PR? Fossil does not do PRs/MRs/CRs or any code review flow.
NeutralForest•46m ago
Yes indeed, I updated to the right terminology.
e-topy•1h ago
> Git provides file versioning services only, whereas Fossil adds an integrated wiki, ticketing & bug tracking, embedded documentation, technical notes, a web forum, and a chat service [...]

I like the idea of having all of those within the actual VCS, mostly because with Git you need centralized services like GitHub to provide that.

But I have to ask: Is it really a good idea? Seems like feature creep motivated by the wants of a single project (SQLite).

All of those could be (albeit awkwardly) backed with a git repo and a cron job. Wiki? Just make a repo with a bunch of Markdown or this-week's-favorate-markup-language files. Ticketing & bug tracking? Again, just a Markdown file for every ticket. Embedded documentation & technical notes? Those are just special wiki pages with different attributes. Forum and chat service? Do you want your VCS to do that? I get being able to hyperlink between files and conversations, but still.

hahahahhaah•1h ago
I prefer not to have strict version control over the entire state of all work tickets. It sort of adds friction.
GCUMstlyHarmls•31m ago
I want it embedded in git simply to break the hold Github has. We have this fantastic distributed fault-tollerant dvcs that gets funneled though at worse 1 service, at best maybe 3 or 4.

I'd love to clone a repo and be able to view all the reasoning behind commits with the context of issues too. I know the commit message should cover this but sometimes it doesn't, or its too much context, or the context is limited to the opinion of the committer. I think all that information is relevant to projects and should have some chance to live alongside it. Stuff like git-bug exists, but then you still need participation from other people.

I really love the idea of radicle.xyz which is git + p2p + issues & patches (called `COB` - collaborative objects) all in your repo but getting the buy-in of the wider population seems extremely difficult, if not impossible. I think part of the attraction here specifically is nostalgia for me, it feels like its invoking the 90s/00s where it was all a big mesh network, information wanted to be free and you couldn't stop the signal.

Fossil also seems cool but the rest of the world is tied to git and I'm tied to jj now. I guess I really wish git themselves [sic] would push something forward, I think that's the only way it would really get broad acceptance. Forges could adopt it and try and special-sauce parts but still let you push/pull "COB"s.

michaelmure•26m ago
> Stuff like git-bug exists, but then you still need participation from other people.

The plan is to 1) finish the webUI and 2) accept external auth (e.g. github OAuth). Once done, anyone can trivially host publicly their own forge and accept public contribution without any buy-in effort. Then, if user wants to go native they just install git-bug locally.

eesmith•22m ago
"Feature creep" is hard to characterize. If the project needs and uses it, is it really "feature creep"?

Or, from Wikipedia, "The definition of what qualifies as "feature creep" varies among end users, where what is perceived as such by some users may be considered practical functionality by others." - https://en.wikipedia.org/wiki/Feature_creep

Hipp (the original SQLite author) also developed his own parser generator (Lemon) and his own editor (e). The former is also used by other projects.

Where do you store the different attributes? In the file-system? How do you manage consistency? Why put up with awkward cron solutions when you have a fully ACID database system right there to work with, which is portable across OSes, including ones which don't have cron?

If it helps any, don't think of it as a VCS but as an SCM system - one which includes version control.

Retr0id•43m ago
I was tinkering with writing my own .git parser recently, and I couldn't help thinking "this could've been an sqlite db".

I found https://github.com/chrislloyd/git-remote-sqlite as a way to achieve git-on-sqlite, which works by registering itself as a git "remote" helper.

Amusingly there exists a "Why SQLite Does Not Use Git" article (https://sqlite.org/whynotgit.html), but there is no corresponding "Why Git Does Not Use SQLite".

conartist6•36m ago
Well the big difference is that an sqlite db has to be running. Git repos just exist as long as the files are on disk, which I think is a mental model people are very used to by now.
Retr0id•34m ago
No, the whole magic of sqlite is that it is also just file-on-disk.
conartist6•29m ago
Huh I didn't know that. Thanks for the correction.
_flux•31m ago
Sqlite does not have a server component (although there may be other projects that do provide sqlite as a server). Sqlite files are also just files on the disk.
jgalt212•35m ago
We use mercurial and are happy with it. I hope we never move to git, but I can see us eventually moving to whatever is next.
shane_kerns•24m ago
The infrastructure around fossil and jujitsu are missing. Git isn't the best but network effects matter. For example, we use jenkins at work and there is no plugin for fossil or jujitsu. Every customer we have uses git so we can't even propose fossil. Even though we might use only 10 git commands, those commands are universally known by all to work if something goes wrong. It isn't sufficient to say that fossil or jujitsu are better. The ecosystem and mindshare for an alternative DVCS is significantly lacking unfortunately.
locknitpicker•17m ago
> Git isn't the best but network effects matter.

I think this assertion is too vague and arguably wrong. It's unclear which traits would lead a Git alternative to be claimed as better, and even if those traits, if they exist, are relevant. It's also unclear if the tradeoffs of switching tooling away from Git are worth whatever hypothetical benefit there is to be had.

I would make the bold claim that Git is undoubtedly better than any conceivable alternative, and state that the network effect is a consequence and not a side-effect. Anyone is free to try to argue against it by pointing out concrete arguments.

brobdingnagians•13m ago
Git is only better in the same sense that Windows is better than Linux. I really need the tools I use that only run on Windows. I prefer Linux for a lot of things, including daily web development, but the experience of developing Unreal Engine on Linux is lacking. I love fossil and the many features it provides in itself and would use it for everything, except that it doesn't have (working) Intellij plugin for integration, a good GitHub alternative, etc.
misnome•2m ago
I spent some time working with jujitsu and found it relatively pleasant... except it doesn't seem at all ready for collaborative use beyond a single working folder.

Sharing the repo state seems impossible without going through the (somewhat painful) multi-step process to tag and push commits into git, and you lose all of the value that jujitsu actually adds (e.g. no evolog, no saved conflicts, no anonymous commits). There is no sharing solution beyond this - no way for me to work on the same working state in two locations beyond rsync the entire folder tree, which is no solution.

A SCM in 2026 that only works locally without being a clunky way of talking to git doesn't seem like a solution ready for prime-time. Maybe the google-internal-only backend systems work better.

My main other pain points were a) zero integration with pre-commit hooks and zero ideas how to do so (yes, CI does this, but it's nice to get all the auto-formatting and sanity checks without pushing, waiting, pulling new commits), and b) Automatically picking up all changes is great except when it doesn't work in which case it is _horrible_ and takes manual unpicking at best. Remembered to add something to .gitignore before doing something in the working directory? Great! Just never ever try to checkout a commit from before you added the .gitignore because now it's permanently absorbed into the repo. Also, if you every accidentally have a secret in your repo directory then that's also permanently in there, as far as I can tell there is no way to manually verify that things are purged and all the commentary on the jujitsu discussion forums were "Just avoid doing this in the first place".

tex0•6m ago
Fossil has some really nice ideas (although I don't like the feature bloat), but when I tried to use it I ran into so many issues and/or bugs. With git on the other hand I can't remember ever hitting a bug in decades.

I don't really like git that much, but it works pretty well most of the time.

1313ed01•3m ago
I would not want to use fossil at work and I do not know if it could handle projects of that size. Would require manyears of rewriting tools that would not be realistic.

For my hobby projects I have used fossil for several years. It works great and I do not miss anything from git. It's simpler and just nicer to use.

If nothing else I felt like using the same version control system for over 10 years was getting boring. Needed something new to play with. See things from a new perspective. Like playing with a new programming language now and then, even when it is something I do not expect to get much real use out of.

Reelive – Access Sora 2, Veo 3, Kling in one place

https://reelive.ai
1•danny_miller•2m ago•1 comments

Apple Tops 2025 Smartphone Market with 20% Share, 10% Growth

https://www.macrumors.com/2026/01/12/apple-tops-2025-smartphone-market/
1•mgh2•2m ago•0 comments

The five orders of ignorance (2000)

https://cacm.acm.org/opinion/the-five-orders-of-ignorance/
2•svilen_dobrev•5m ago•1 comments

CreeperVM

https://creepervm.gunawan092w.eu.org
2•hackerforkie•6m ago•0 comments

Designing Space Systems with Integrated FDIR

https://blog.satsearch.co/2025-12-19-spotlight-designing-space-systems-with-integrated-fdir-with-...
2•kartikkumar•6m ago•0 comments

Show HN: LLM Agent That Makes Composable CLIs

https://github.com/caesarnine/binsmith
2•binalpatel•6m ago•0 comments

Our chance to make tech good again

https://www.theguardian.com/commentisfree/2026/jan/10/trump-beginning-of-end-enshittification-mak...
2•mooreds•7m ago•0 comments

Show HN: I built a tool to repurpose long form content into my short form funnel

https://nebly.app
2•jxywilliams•7m ago•0 comments

See the Forest and the Trees

https://gitcanopy.com/
2•mooreds•8m ago•0 comments

Zen-C: Write like a high-level language, run like C

https://github.com/z-libs/Zen-C
2•simonpure•8m ago•0 comments

Most devs don't trust AI-generated code, but fail to check it anyway

https://www.theregister.com/2026/01/09/devs_ai_code/
2•Growtika•10m ago•0 comments

Ask HN: Why are multi-agent systems workflow-based? Are there other models?

2•snasan•10m ago•0 comments

Headless browser automation CLI for AI agents from Vercel

https://github.com/vercel-labs/agent-browser
2•nkko•11m ago•0 comments

Creating a TUI for Keeping an Eye on GitHub Rate Limits

https://www.jvt.me/posts/2026/01/12/github-rate-limit-tui/
2•mooreds•12m ago•0 comments

Docker Hardened Images

https://github.com/docker-hardened-images
1•thunderbong•12m ago•0 comments

Show HN: Local Screenshot Image Rename

https://github.com/KevinColemanInc/img_rename
1•itake•12m ago•0 comments

Show HN: Touch grass – I built social media that wants you to close it

2•alexsherrick•13m ago•1 comments

RNA steps outside the cell to help guide immune responses, study suggests

https://medicalxpress.com/news/2025-12-rna-cell-immune-responses.html
1•PaulHoule•13m ago•0 comments

Show HN: PEC – A proposal for compliance metadata in the Model Context Protocol

https://usepec.eu
1•lloydjones•13m ago•0 comments

I replaced my Raspberry Pi 5 with a no-name Amazon mini desktop

https://arstechnica.com/gadgets/2024/04/what-i-learned-when-i-replaced-my-cheap-pi-5-pc-with-a-no...
1•tosh•13m ago•0 comments

Shopify CEO vibe codes an MRI viewer

https://xcancel.com/tobi/status/2010438500609663110
3•nkko•14m ago•0 comments

You're probably vibe coding wrong (and that's why things spiral)

https://genie-ops.com/
1•Shabamed•14m ago•1 comments

My Review of Math Academy

https://drgore.substack.com/p/my-review-of-math-academy
2•dhruvgore•15m ago•0 comments

Karmic Tail Calculator – Free Past Life Analysis and Destiny Matrix Tool

https://karmictailcalculator.org
1•john_mayor•19m ago•0 comments

Advancing Claude in healthcare and the life sciences

https://www.anthropic.com/news/healthcare-life-sciences
2•ta_u•20m ago•0 comments

New Python "RAT-as-a-library" named "Scopper"

https://www.getsafety.com/blog-posts/scopper-python-rat
1•6mile•20m ago•1 comments

AI app development has been overcomplicated (keynote video)

https://www.youtube.com/watch?v=y535u1EWqAg
1•earcar•21m ago•0 comments

UCP:curated Universal Commerce Protocol resources, SDKs, tools, adopters

https://github.com/Upsonic/awesome-ucp
2•mumtazvural•23m ago•1 comments

Show HN: Waifu2x Online – Browser-based anime image upscaler (2x/4x/8x)

1•Nancy1230•23m ago•1 comments

Are You Dead?: The viral Chinese app for young people living alone

https://www.bbc.com/news/articles/c3381r5nnn6o
1•01-_-•24m ago•0 comments