r/programming • • Jun 19 '14

Reinventing GIT interface

http://tonsky.me/blog/reinventing-git-interface/
221 Upvotes

325 comments sorted by

View all comments

1

u/Denvercoder8 Jun 19 '14

His model seems to lose the ability to commit part of your working tree. That's one of the biggest reasons I'm using git, and thus makes this hypothetical redesign completely useless.

3

u/Peaker Jun 19 '14

He does mention the staging area, using (iiuc) a split of the WIP commit.

1

u/Denvercoder8 Jun 19 '14

Yeah, but splitting your changes afterwards seems a lot harder than adding only what you need on the go.

2

u/Peaker Jun 19 '14

The split is the add operation itself. You don't have to do it after the fact. You can do exactly the same add operations on the staging area even if it is represented by a commit.