Thread (37 messages) flat view 37 messages, 2 authors, 2016-06-15

Re: [PATCH v2 16/23] worktree: add -b/-B options

From: Eric Sunshine <hidden>
Date: 2016-06-15 23:05:39

On Fri, Jul 3, 2015 at 11:19 PM, Duy Nguyen [off-list ref] wrote:
On Sat, Jul 4, 2015 at 7:17 AM, Eric Sunshine [off-list ref] wrote:
quoted
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.
Yes. I added --force, -b/-B, and --detach because they are used by the
tests; and I considered --orphan and --track to be good candidates, as
well, but decided to omit them for now since the series is already
overly long.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help