commit | 39ecb27436296361371d3caadcc9bc4a4e0b556d | [log] [tgz] |
---|---|---|
author | Eric Sunshine <sunshine@sunshineco.com> | Mon Jul 06 13:30:52 2015 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Jul 06 11:07:46 2015 -0700 |
tree | f750a01755147376c96398a3bc3acf91b2ffe6f7 | |
parent | f43254440d56da1fd52216cbebd5c285b20985e6 [diff] |
worktree: add --detach option 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 a --detach option to detach HEAD in the new worktree. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>