could not detach HEAD rebase script, :
GIT_REFLOG_ACTION="$GIT_REFLOG_ACTION: checkout $onto_name"
output git checkout $onto || die_abort "could not detach HEAD"
git update-ref ORIG_HEAD $orig_head
do_rest
, git checkout $onto, , : :
HEAD is now at c9e9b62... Fixes super-important bug
, git checkout, . , -, , git checkout, -, , . die_abort, .
,
git.
, switch_branches, :
ret = post_checkout_hook(old.commit, new->commit, 1);
free(path_to_free);
return ret || writeout_error;
post_checkout_hook . , git checkout : (, ), , , . ( , "". ||, 1 git checkout.)
? , ?
(, , git checkout, . , , , - , " , git checkout , ".)