Skip to content

pr-git-2384/ArturBieniek4/pull-hard-v1

tagged this 18 Aug 11:34
From: Artur Bieniek <ar2rekb@gmail.com>

Add --hard as an explicit alternative to merge and rebase. After
fetching, require a single integration candidate and reset the current
branch, index, and working tree to it.

Preserve quiet and submodule recursion behavior, and reject options
that cannot be honored by a hard reset. Document the destructive
semantics and cover them in tests.

Signed-off-by: Artur Bieniek <ar2rekb@gmail.com>

Submitted-As: https://lore.kernel.org/git/pull.2384.git.git.1787052873141.gitgitgadget@gmail.com
Assets 2
Loading