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?
Ask HN: How would you redesign git?
1–6 of 6 posts
Re: Ask HN: How would you redesign git?
#2Check out Gitless and Sapling.
Re: Ask HN: How would you redesign git?
#3I would change the term "The index" to "The staging area."
https://felipec.wordpress.com/2021/08/10/git-staging-area-re...
Re: Ask HN: How would you redesign git?
#4That's easy: I'd replace git with mercurial.
Re: Ask HN: How would you redesign git?
#5Name things better
Re: Ask HN: How would you redesign git?
#6So 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)