Skip to content

checkout-index

  • Take the files from staging area (index) and put them in the working directory
# Select a file from index
git checkout-index "file"

# Select all files from index
git checkout-index -a