'\" t .\" Title: stg-reset .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 03/13/2012 .\" Manual: StGit Manual .\" Source: StGit .\" Language: English .\" .TH "STG\-RESET" "1" "03/13/2012" "StGit" "StGit Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" stg-reset \- Reset the patch stack to an earlier state .SH "SYNOPSIS" .sp .nf \fIstg\fR reset [options] [] .fi .SH "DESCRIPTION" Reset the patch stack to an earlier state\&. 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\&. .SH "OPTIONS" .PP \-\-hard .RS 4 Discard changes in your index/worktree\&. .RE .SH "STGIT" Part of the StGit suite \- see linkman:stg[1]