diff options
author | Anders Kaseorg <andersk@MIT.EDU> | 2009-10-14 01:02:24 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-10-14 10:19:02 +0400 |
commit | 6b87ce231d14b3804974fba27576f1f2ba77cfb0 (patch) | |
tree | 4a543b4583a8712f3208cd5aa5120426839374d4 /builtin-send-pack.c | |
parent | 78d553b7d7b269bb22ebd8b1198657c37484a3a0 (diff) |
bisect reset: Allow resetting to any commit, not just a branch
‘git bisect reset’ accepts an optional argument specifying a branch to
check out after cleaning up the bisection state. This lets you
specify an arbitrary commit.
In particular, this provides a way to clean the bisection state
without moving HEAD: ‘git bisect reset HEAD’. This may be useful if
you are not interested in the state before you began a bisect,
especially if checking out the old commit would be expensive and
invalidate most of your compiled tree.
Clarify the ‘git bisect reset’ documentation to explain this optional
argument, which was previously mentioned only in the usage message.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-send-pack.c')
0 files changed, 0 insertions, 0 deletions