Git:Checkout
lastmod 2015-09-04created 2015-09-043 edits
What is "--"
The syntax includes a -- part. It is used as follows.
The help page shows that this corresponds to the --ignore-skip-worktree-bits option. The description is as follows.
| In sparse checkout mode, git checkout -- <paths> would update only entries matched by <paths> and sparse patterns in $GIT_DIR/info/sparse-checkout. This option ignores the sparse patterns and adds back any files in <paths>. |