Ask HN: How would you redesign git?

4 points by tashmahalic ↗ HN
Git is popular. We have years of usage behind us now. With the benefit of hindsight, if you could redesign it now from scratch, with nary a concern for backwards compatibility, how would you improve its interface or architecture?

5 comments

[ 0.22 ms ] story [ 26.2 ms ] thread
Check out Gitless and Sapling.
That's easy: I'd replace git with mercurial.
So many things, but if I were to pick one, I would add a `git stage` command to work with the staging area (wrongly called "the index").

git stage add (git add), git stage delete (git rm --cached), git stage diff (git diff --cached), git stage edit (not possible today)