News for hackers. Stuff that matters.
Re:Gitless a simple VCS built on top of Git by Certhas on Saturday June 17, 2023 @11:43AM (#36371192)
There are a lot of people who could benefit from git (or who are forced to interact with it sporadically) for whom this is a real problem.

The problem is also, if you don't use it daily git knowledge decays fast.

There is a piece of advise that was making the rounds (unironically) at the research institute where I worked before: "Before you do anything with git, first make a local backup copy."

Re:Gitless a simple VCS built on top of Git by bombcar on Saturday June 17, 2023 @12:10PM (#36371499)
That’s the idea behind https://xkcd.com/1597/ and it’s more true than people will admit.
Re:Gitless a simple VCS built on top of Git by jeltz on Saturday June 17, 2023 @02:52PM (#36373257)
Can't agree. While learning git isn't trivial it is still easier than it was learning Subversion and at all places I have worked at a decent share of the devs understood git. If a dev cannot grasp git I would not trust them with any non-trivial code base.
Re:Gitless a simple VCS built on top of Git by Certhas on Saturday June 17, 2023 @03:14PM (#36373515)
Nobody claims that git is impossible to use. It clearly isn't or it wouldn't be so successful.

But it could demonstrably be better and easier and we are stuck in a local minimum of a good enough solution because of the network effects.

Re:Gitless a simple VCS built on top of Git by bombcar on Saturday June 17, 2023 @03:52PM (#36373905)
Many more people use git than just developers. Especially with GitHub in there.
Re:Gitless a simple VCS built on top of Git by redeeman on Saturday June 17, 2023 @05:44PM (#36374974)
you mean merging branches? because in all other aspects, subversion is significantly simpler and i would say far better UI. Much of this also comes from not being distributed
Re:Gitless a simple VCS built on top of Git by evandale on Saturday June 17, 2023 @09:25PM (#36376452)
It really isn't.

git stash is the equivalent to saving your work somewhere else and getting a fresh copy.

Re:Gitless a simple VCS built on top of Git by Certhas on Sunday June 18, 2023 @02:08AM (#36377750)
No it's not. The recovery strategy when you've gotten your repo into aess is "wipe, clone, restore local backup, try the git thing again".

But even then, what's the benefit of using a strange git command, which means I have to track another bit of state only visible to git, which can easily be misused (by applying the stash to the wrong commit), and anyway doesn't save the actual working directory I care about (untracked files), over simply making a file system copy?

Re:Gitless a simple VCS built on top of Git by evandale on Monday June 19, 2023 @08:48AM (#36390476)
The benefit of using a strange git command would be learning what a strange git command does and then it's no longer strange. You'll learn how to create, read, update, and delete that new bit of state in git. Then you won't have to wipe, clean, restore local backup, try the git thing again.

You can start saving your work somewhere else, getting a fresh copy, and then try that git thing again when you know how git stash works. What you're proposing is like not learning how an incremental compiler works and suggesting to wipe, clean, restore local backup, try to compile the thing again to fix compile errors every time you have a compile error instead of learning how an incremental compiler works.