diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-04-29 14:21:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-29 14:21:05 -0700 |
commit | 0dd50943c112dfc70367bd39eb3c88371db2518f (patch) | |
tree | f60fdfeafd48ad1b7c65220f044086e476422ecb /git-restore.txt | |
parent | 67bf224a9fb3cd34ef712113c48f3144a9bc232a (diff) | |
download | git-htmldocs-0dd50943c112dfc70367bd39eb3c88371db2518f.tar.gz |
Autogenerated HTML docs for v2.26.2-357-g86ab1
Diffstat (limited to 'git-restore.txt')
-rw-r--r-- | git-restore.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/git-restore.txt b/git-restore.txt index 5bf60d494..8e3b33980 100644 --- a/git-restore.txt +++ b/git-restore.txt @@ -107,6 +107,17 @@ in linkgit:git-checkout[1] for details. patterns and unconditionally restores any files in `<pathspec>`. +--recurse-submodules:: +--no-recurse-submodules:: + If `<pathspec>` names an active submodule and the restore location + includes the working tree, the submodule will only be updated if + this option is given, in which case its working tree will be + restored to the commit recorded in the superproject, and any local + modifications overwritten. If nothing (or + `--no-recurse-submodules`) is used, submodules working trees will + not be updated. Just like linkgit:git-checkout[1], this will detach + `HEAD` of the submodule. + --overlay:: --no-overlay:: In overlay mode, the command never removes files when |