Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/git-checkout.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / git-checkout.adoc` 629 lines ยท 22586 bytes Raw Blame History 1 git-checkout(1) 2 =============== 3 4 NAME 5 ---- 6 git-checkout - Switch branches or restore working tree files 7 8 SYNOPSIS 9 -------- 10 [synopsis] 11 git checkout [-q] [-f] [-m] [] 12 git checkout [-q] [-f] [-m] --detach [] 13 git checkout [-q] [-f] [-m] [--detach] 14 git checkout [-q] [-f] [-m] [[-b|-B|--orphan] ] [] 15 git checkout [--] ... 16 git checkout --pathspec-from-file= [--pathspec-file-nul] 17 git checkout [-f|--ours|--theirs|-m|--conflict=