Forrest logo
back to context overview

git-checkout-index

List of commands for git-checkout-index:

  • git-checkout-index:tldr:48063 git-checkout-index: Restore any files deleted or changed since the last commit.
    $ git checkout-index --all --force
    try on your machine
    explain this command
  • git-checkout-index:tldr:60ad2 git-checkout-index: Export a copy of the entire tree at the last commit to the specified directory (the trailing slash is important).
    $ git checkout-index --all --force --prefix=${path-to-export_directory-}
    try on your machine
    explain this command
  • git-checkout-index:tldr:8b732 git-checkout-index: Restore any files changed since the last commit, ignoring any files that were deleted.
    $ git checkout-index --all --force --no-create
    try on your machine
    explain this command
  • git-checkout-index:tldr:9b814 git-checkout-index: Restore any files deleted since the last commit.
    $ git checkout-index --all
    try on your machine
    explain this command
back to context overview