mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
817 B
817 B
scratch/main> builtins.merge
reset loose code
a = 5
scratch/main> add
scratch/main> history
scratch/main> reset 2
scratch/main> history
foo.a = 5
scratch/main> add
scratch/main> ls foo
scratch/main> history
scratch/main> reset 1 foo
scratch/main> ls foo.foo
reset branch
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