IT系/リファレンス/Gitコマンド/git_restore

Last-modified: 2020-06-12 (金) 18:19:46

git restore

作業ツリーファイルを復元するコマンド。

用例

  • xxx
    xxx
  • xxx
    xxx

書式

git restore [options] <pathspec>

公式によると以下の通り。

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>…]

options

/xxxx

etc.

説明

作業ツリーファイルを復元するコマンド。

関連

  • xxx

参考リンク

その他メモ

なにかあれば。