git-restoreRestaura los archivos del árbol de trabajo. Requiere la version 2.23+ de Git. Vea también
git checkoutygit reset. Más información: https://git-scm.com/docs/git-restore.
git restore {{ruta/al/archivo}}
git restore {{[-s|--source]}} {{confirmación}} {{ruta/al/archivo}}
git restore :/
git restore {{[-S|--staged]}} {{ruta/al/archivo}}
git restore {{[-S|--staged]}} :/
git restore {{[-W|--worktree]}} {{[-S|--staged]}} :/
git restore {{[-p|--patch]}}