Optional
--conflictOverrides the merge.conflictStyle configuration variable.
Optional
--ignore-Ignores the sparse patterns and unconditionally restores specified files.
Optional
--ignore-Does not abort the operation if there are unmerged entries.
Optional
--mergeRecreates the conflicted merge in the unmerged paths when restoring files in the working tree from the index.
Optional
--no-Removes tracked files that do not appear in the --source tree. See also --overlay.
Optional
--no-Suppresses progress reports to the standard error stream. See also --progress.
Optional
--no-Does not update the content of all active submodules.
Optional
--oursUses stage #2 for unmerged paths when restoring files in the working tree from the index. See also --thiers.
Optional
--overlayNever removes files when restoring. See also --no-overlay.
Optional
--progressForces progress reports to the standard error stream. See also --no-progress.
Optional
--quietSuppresses feedback messages.
Optional
--recurse-Updates the content of all active submodules.
Optional
--sourceRestores working tree files with content from the given tree.
Optional
--stagedRestores files to the index. See also --worktree.
Optional
--thiersUses stage #3 for unmerged paths when restoring files in the working tree from the index. See also --ours.
Optional
--worktreeRestores files to the working tree. See also --staged.
RestoreOptions defines the supported options for the Git restore command.