1. 02 4月, 2019 1 次提交
    • N
      checkout: split part of it to new command 'switch' · d787d311
      Nguyễn Thái Ngọc Duy 提交于
      "git checkout" doing too many things is a source of confusion for many
      users (and it even bites old timers sometimes). To remedy that, the
      command will be split into two new ones: switch and restore. The good
      old "git checkout" command is still here and will be until all (or most
      of users) are sick of it.
      
      See the new man page for the final design of switch. The actual
      implementation though is still pretty much the same as "git checkout"
      and not completely aligned with the man page. Following patches will
      adjust their behavior to match the man page.
      Signed-off-by: NNguyễn Thái Ngọc Duy <pclouds@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d787d311