News for hackers. Stuff that matters.
Re:Beej's Guide to Git by ujkiolp on Wednesday February 05, 2025 @12:23AM (#42944184)
>It did take maybe a year or so

we have normalized this for git - a tool to store versions of text. That’s the problem

Re:Beej's Guide to Git by kortilla on Wednesday February 05, 2025 @02:30AM (#42945144)
Maybe you’re young, but git is better than all of the other shit before it.

Try to come up with something simpler than git, and you’ll end up with something like SVN or CVS that struggled with more than a couple of people working on the same files.

Try to make something that is more content aware, and you’ll find out how git got its name in the first place.

Re:Beej's Guide to Git by nextaccountic on Wednesday February 05, 2025 @03:09AM (#42945486)
Mercurial is simpler than git. It is (or was) just too damn slow
Re:Beej's Guide to Git by Izkata on Wednesday February 05, 2025 @07:44AM (#42947706)
For some people. Back when I only knew how to use subversion, I tried out both git and mercurial, and found mercurial confusing while git clicked immediately.

Unfortunately it's been long enough I don't remember details why, just that it was something with how it handled branches.

Re:Beej's Guide to Git by capitainenemo on Thursday February 06, 2025 @05:42PM (#42967251)
Mercurial has both "real" branches (history is kept so you can always tell what revisions were in what branch) as well as git "branch is just a pointer tag"

So really you can choose whatever suits your needs.

Personally the things I love about mercurial are:

    more consistent commandline (that's the simple part others bring up)
    revsets (awesome query language for revisions, there's also filesets, but I don't use that as much)
    absorb  (I think someone added a git extension that does something similar a few months ago)
    fa --deleted 
    grep --all  
    phases ♥
Re:Beej's Guide to Git by maccard on Wednesday February 05, 2025 @03:27AM (#42945638)
Mercurial and perforce are a better solution for anything with a centralised repo IMO
Re:Beej's Guide to Git by sampullman on Wednesday February 05, 2025 @01:46AM (#42944793)
A folder with a list of files is a tool to store versions of text. Git is somewhat more useful.