Re: [PATCH v2 16/23] worktree: add -b/-B options
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jul 4, 2015, 03:19 UTC
- Message-ID
- <CACsJy8AYFC+FW1bgSJwW34p6s2zn_6A4GhBaJjB8o8rxUvY72g@mail.gmail.com>
- In-Reply-To
- <1435969052-540-17-git-send-email-sunshine@sunshineco.com>
On Sat, Jul 4, 2015 at 7:17 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
> 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.
There are some other ref manipulation options we can bring over like --orphan and --track. But you can totally leave them out and we can add them back when people actually need them.
-- Duy