Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   git-reset    ( 1 )

сбросить текущую HEAD в указанное состояние (Reset current HEAD to the specified state)

  Name  |  Synopsis  |  Description  |    Options    |  Examples  |  Discussion  |

Параметры (Options)

-q, --quiet, --no-quiet
           Be quiet, only report errors. The default behavior is set by
           the reset.quiet config option.  --quiet and --no-quiet will
           override the default behavior.

--pathspec-from-file=<file> Pathspec is passed in <file> instead of commandline args. If <file> is exactly - then standard input is used. Pathspec elements are separated by LF or CR/LF. Pathspec elements can be quoted as explained for the configuration variable core.quotePath (see git-config(1)). See also --pathspec-file-nul and global --literal-pathspecs.

--pathspec-file-nul Only meaningful with --pathspec-from-file. Pathspec elements are separated with NUL character and all other characters are taken literally (including newlines and quotes).

-- Do not interpret any more arguments as options.

<pathspec>... Limits the paths affected by the operation.

For more details, see the pathspec entry in gitglossary(7).