News for hackers. Stuff that matters.
Re:Gitless: a version control system by strictfp on Sunday October 02, 2016 @03:42PM (#12623874)
They don't do the same thing implementation wise, but they do the same thing ux wise. This difference causes all discussions like the above: it seems as if some people like ux "plaster", while others like bare-metal tools.
Re:Gitless: a version control system by jjoonathan on Sunday October 02, 2016 @04:07PM (#12623973)
They do the same thing ux wise if and only if your mental model has no notion of a staging area.
Re:Gitless: a version control system by k__ on Sunday October 02, 2016 @04:32PM (#12624089)
I just stage parts of my changed code before commit. So things I work on are un-staged mkst of the time. Which eliminates the problem, I guess.
Re:Gitless: a version control system by djur on Sunday October 02, 2016 @03:45PM (#12623883)
They only do the same thing if you haven't previously used `git add`. If you have, `git checkout` will use the contents of the index, not the contents of the last commit.