table of contents
other versions
- buster 2019.1-1
- buster-backports 2020.8-2~bpo10+1
- testing 2020.8-2
- unstable 2020.8-2
- experimental 2021.3-1
OSTREE RESET(1) | ostree reset | OSTREE RESET(1) |
NAME¶
ostree-reset - Reset a ref to a previous commitSYNOPSIS¶
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-branchcommit 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 |