git-checkout(1) on Linux
The text c1f42a55fa2b, as Arch Linux 2026-11-01 shipped it. The page shows this text now.
Switch branches or restore working tree files
Flags it lists
-
-- -
--conflict -
--detach -
--force -
--guess -
--ignore-other-worktrees -
--ignore-skip-worktree-bits -
--inter-hunk-context -
--merge -
--no-guess -
--no-overlay -
--no-overwrite-ignore -
--no-progress -
--no-recurse-submodules -
--no-track -
--orphan -
--ours -
--overlay -
--overwrite-ignore -
--patch -
--pathspec-file-nul -
--pathspec-from-file -
--progress -
--quiet -
--recurse-submodules -
--theirs -
--track -
--unified -
-B -
-U -
-b -
-d -
-f -
-l -
-m -
-p -
-q -
-t