Man page - ostree-reset(1)
Packages contas this manual
- ostree-admin-stateroot-init(1)
- ostree-admin-unlock(1)
- ostree-init(1)
- ostree-pull(1)
- ostree-refs(1)
- ostree-commit(1)
- ostree-gpg-sign(1)
- ostree.repo-config(5)
- ostree-admin-undeploy(1)
- ostree-fsck(1)
- ostree(1)
- ostree-admin-status(1)
- ostree-export(1)
- ostree-config(1)
- ostree-admin-pin(1)
- ostree.repo(5)
- rofiles-fuse(1)
- ostree-create-usb(1)
- ostree-summary(1)
- ostree-log(1)
- ostree-admin-config-diff(1)
- ostree-checksum(1)
- ostree-checkout(1)
- ostree-admin-lock-finalization(1)
- ostree-admin(1)
- ostree-sign(1)
- ostree-pull-local(1)
- ostree-admin-cleanup(1)
- ostree-reset(1)
- ostree-ls(1)
- ostree-admin-set-origin(1)
- ostree-admin-init-fs(1)
- ostree-show(1)
- ostree-cat(1)
- ostree-admin-instutil(1)
- ostree-prune(1)
- ostree-remote(1)
- ostree-admin-os-init(1)
- ostree-prepare-root(1)
- ostree-admin-set-default(1)
- ostree-rev-parse(1)
- ostree-admin-post-copy(1)
- ostree-admin-upgrade(1)
- ostree-admin-switch(1)
- ostree-static-delta(1)
- ostree-diff(1)
- ostree-admin-deploy(1)
- ostree-find-remotes(1)
Package: ostree
apt-get install ostree
apt-get install ostree
Manuals in package:
Documentations in package:
Manual
| OSTREE RESET(1) | ostree reset | OSTREE RESET(1) |
NAME
ostree-reset - Reset a ref to a previous commit
SYNOPSIS
ostree reset {REF} {REF_TO_RESET_TO}
DESCRIPTION
Given a commit, this command will reset the ref to a previous specified commit.
EXAMPLE
$ ostree log my-branch
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
$ ostree reset my-branch my-branch^
$ ostree log my-branch
commit ce19c41036cc45e49b0cecf6b157523c2105c4de1c
Date: 2014-06-12 11:20:08 +0000
Initial commit
| OSTree |