73 lines
2.0 KiB
Groff
73 lines
2.0 KiB
Groff
'\" t
|
|
.\" Title: ostree reset
|
|
.\" Author: Colin Walters <walters@verbum.org>
|
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
|
.\" Date: 11/23/2016
|
|
.\" Manual: ostree reset
|
|
.\" Source: OSTree
|
|
.\" Language: English
|
|
.\"
|
|
.TH "OSTREE RESET" "1" "" "OSTree" "ostree reset"
|
|
.\" -----------------------------------------------------------------
|
|
.\" * 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"
|
|
ostree-reset \- Reset a ref to a previous commit
|
|
.SH "SYNOPSIS"
|
|
.HP \w'\fBostree\ reset\ \fR\ 'u
|
|
\fBostree reset \fR {REF} {REF_TO_RESET_TO}
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
Given a commit, this command will reset the ref to a previous specified commit\&.
|
|
.SH "EXAMPLE"
|
|
.PP
|
|
\fB$ ostree log my\-branch\fR
|
|
.sp
|
|
.if n \{\
|
|
.RS 4
|
|
.\}
|
|
.nf
|
|
commit 67e382b11d213a402a5313e61cbc69dfd5ab93cb07
|
|
Date: 2014\-06\-12 13:42:54 +0000
|
|
This is the second commit
|
|
|
|
commit ce19c41036cc45e49b0cecf6b157523c2105c4de1c
|
|
Date: 2014\-06\-12 11:20:08 +0000
|
|
Initial commit
|
|
.fi
|
|
.if n \{\
|
|
.RE
|
|
.\}
|
|
.PP
|
|
\fB$ ostree reset my\-branch my\-branch^\fR
|
|
.PP
|
|
\fB$ ostree log my\-branch\fR
|
|
.sp
|
|
.if n \{\
|
|
.RS 4
|
|
.\}
|
|
.nf
|
|
commit ce19c41036cc45e49b0cecf6b157523c2105c4de1c
|
|
Date: 2014\-06\-12 11:20:08 +0000
|
|
Initial commit
|
|
.fi
|
|
.if n \{\
|
|
.RE
|
|
.\}
|