commit | cbdf60fa183e3a2330849046846b400ef4a99c3b | [log] [tgz] |
---|---|---|
author | Eric Sunshine <sunshine@sunshineco.com> | Mon Jul 06 13:30:53 2015 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Jul 06 11:07:47 2015 -0700 |
tree | 2ea6cfd259515270553cc433822e253d1c479634 | |
parent | 39ecb27436296361371d3caadcc9bc4a4e0b556d [diff] |
worktree: add -b/-B options One of git-worktree's roles is to populate the new worktree, much like git-checkout, and thus, for convenience, ought to support several of the same shortcuts. Toward this goal, add -b/-B options to create a new branch and check it out in the new worktree. (For brevity, only -b is mentioned in the synopsis; -B is omitted.) Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>