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

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



   stg-reset    ( 1 )

сбросить стек патчей в более раннее состояние (Reset the patch stack to an earlier state)

Имя (Name)

stg-reset - Reset the patch stack to an earlier state


Синопсис (Synopsis)

stg reset [options] [--] [<state> [<patchnames>]]


Описание (Description)

Reset the patch stack to an earlier state. If no state is specified, reset only the changes in the worktree.

The state is specified with a commit id from a stack log; "stg log" lets you view this log, and "stg reset" lets you reset to any state you see in the log. If one or more patch names are given, reset only those patches, and leave the rest alone.


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

--hard
           Discard changes in your index/worktree.

Часть StGit suite (Stgit)

Part of the StGit suite - see stg(1)