1OSTREE RESET(1) ostree reset OSTREE RESET(1)
2
3
4
6 ostree-reset - Reset a ref to a previous commit
7
9 ostree reset {REF} {REF_TO_RESET_TO}
10
12 Given a commit, this command will reset the ref to a previous specified
13 commit.
14
16 $ ostree log my-branch
17
18 commit 67e382b11d213a402a5313e61cbc69dfd5ab93cb07
19 Date: 2014-06-12 13:42:54 +0000
20 This is the second commit
21
22 commit ce19c41036cc45e49b0cecf6b157523c2105c4de1c
23 Date: 2014-06-12 11:20:08 +0000
24 Initial commit
25
26 $ ostree reset my-branch my-branch^
27
28 $ ostree log my-branch
29
30 commit ce19c41036cc45e49b0cecf6b157523c2105c4de1c
31 Date: 2014-06-12 11:20:08 +0000
32 Initial commit
33
34
35
36OSTree OSTREE RESET(1)