git checkout-index

Copy files from the index to the working tree. More information: https://git-scm.com/docs/git-checkout-index.

git checkout-index {{[-a|--all]}}

git checkout-index {{[-a|--all]}} {{[-f|--force]}}

git checkout-index {{[-a|--all]}} {{[-f|--force]}} {{[-n|--no-create]}}

git checkout-index {{[-a|--all]}} {{[-f|--force]}} --prefix {{path/to/export_directory/}}