]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/gitcli.txt
doc: promote "git restore"
[thirdparty/git.git] / Documentation / gitcli.txt
index 225513ef5e6ee19ff0a9e17e34671e3bbb191619..1ed3ca33b7a94ad8187d7fa490cc212711fd578e 100644 (file)
@@ -47,8 +47,8 @@ disambiguating `--` at appropriate places.
    things:
 +
 --------------------------------
-$ git checkout -- *.c
-$ git checkout -- \*.c
+$ git restore *.c
+$ git restore \*.c
 --------------------------------
 +
 The former lets your shell expand the fileglob, and you are asking