frostming / legit

Git for Humans, Inspired by GitHub for Mac™.
https://frostming.github.io/legit
BSD 3-Clause "New" or "Revised" License
5.71k stars 217 forks source link

partially revert #111, to fix bug with previous intented behavior #198

Closed acrobat closed 8 years ago

acrobat commented 8 years ago

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

Fixes #196

kennethreitz commented 8 years ago

Thank you!