mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-09 16:24:08 +03:00
735 B
735 B
.> builtins.merge
reset loose code
a = 5
.> add
.> history
.> reset 2
.> history
foo.a = 5
.> add
.> ls foo
.> history
.> reset 1 foo
.> ls foo.foo
reset branch
.> project.create-empty foo
foo/main> history
a = 5
foo/main> add
foo/main> branch topic
foo/main> history
a = 3
foo/main> update
foo/main> reset /topic
foo/main> history
ambiguous reset
ambiguous target
main.a = 3
foo/main> add
foo/main> history
foo/main> reset 2 main
ambiguous hash
main.a = 3
foo/main> switch /topic
foo/topic> add
foo/topic> reset main