In #111 the behavior of the switch command changed and broke the previous intented behavior. This pr partially reverts the changes and restores back the old behavior of the switch command.
If we want to also support the new way of switching introduced in #111 I think we should create a new command. Something like git port <to_branch>. This would mean stashing current changes, switching to_branch and unstashing the previous changes
In #111 the behavior of the switch command changed and broke the previous intented behavior. This pr partially reverts the changes and restores back the old behavior of the switch command.
If we want to also support the new way of switching introduced in #111 I think we should create a new command. Something like
git port <to_branch>
. This would mean stashing current changes, switchingto_branch
and unstashing the previous changesFixes #196