diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2015-07-06 13:30:52 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-06 11:07:46 -0700 |
commit | 39ecb27436296361371d3caadcc9bc4a4e0b556d (patch) | |
tree | f750a01755147376c96398a3bc3acf91b2ffe6f7 /builtin/remote.c | |
parent | worktree: add --force option (diff) | |
download | tgif-39ecb27436296361371d3caadcc9bc4a4e0b556d.tar.xz |
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>
Diffstat (limited to 'builtin/remote.c')
0 files changed, 0 insertions, 0 deletions