splitting git commits
splitting git commits
Posted Feb 12, 2026 17:58 UTC (Thu) by alx.manpages (subscriber, #145117)In reply to: splitting git commits by josh
Parent article: Evolving Git for the next decade
The problem with git-checkout(1) is that it has too much functionality, and thus is somewhat dangerous.
That's why they split its functionality into separate commands git-switch(1) and git-restore(1).
See <https://git.kernel.org/pub/scm/git/git.git/tree/Documenta...>.
At first, I was a bit confused, but I'm now accustomed to git-switch(1), and it feels natural.
