|
|
|
|
|
by bicolao
1779 days ago
|
|
The two are added with some extra protections. Something that cannot be done with git-checkout without breaking scripts. I believe git-checkout could silently overwrite data in one case (can't remembe the details). And git-swith will stop you from moving the branch when you're in a middle of a rebase or other multi-command operations. It also tries to avoid entering detached HEAD mode by default. It's definitely geared towards newcomers. But even I'm glad it catches me from doing stupid things from time to time. |
|