Requirements
To follow this setup, it is required to have following …
•
No Requirements
Restore [git restore]
Restore specified paths in the working tree with some contents from a restore source. If a path is tracked but does not exist in the restore source, it will be removed to match the source.
Synopsis [git restore --<synopsis>]
git restore [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>…
git restore [<options>] [--source=<tree>] [--staged] [--worktree] --pathspec-from-file=<file> [--pathspec-file-nul]
git restore (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>…]
YAML
복사
Commonly Used Commands
1.
Default restore
a.
git restore <file name>
2.
Unstage
a.
git restore --staged <file name>
