3 ms·
The Git staging area doesn't have to be this complicated. A re-branding away from index to staging area would go a long way. Adding an alias from git diff --sta
by blux 9y ago
The Git staging area doesn't have to be this complicated. A re-branding away from index to staging area would go a long way. Adding an alias from git diff --staged to git diff --cached and removing references to the cache from common user commands would make a lot of sense and reduce end-user confusion.
--staged is already an alias for --cached in the latest Git version.
- BlackFingolfin 9y agoAnd it has been for some time (years, I think)
- majewsky 9y agoYears, yes. At least since 2.0, though probably longer.