mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-23 16:28:02 +03:00
b7bf12081b
* Fix #1056 and add author and license metadata types * Transcript demonstrating that the codebase is empty at first
32 lines
371 B
Markdown
32 lines
371 B
Markdown
```ucm:hide
|
|
.> builtins.merge
|
|
```
|
|
|
|
First we make two changes to the codebase, so that there's more than one line
|
|
for the `reflog` command to display:
|
|
|
|
```unison
|
|
x = 1
|
|
```
|
|
```ucm
|
|
.> add
|
|
```
|
|
```unison
|
|
y = 2
|
|
```
|
|
```ucm
|
|
.> add
|
|
.> view y
|
|
```
|
|
```ucm
|
|
.> reflog
|
|
```
|
|
|
|
If we `reset-root` to its previous value, `y` disappears.
|
|
```ucm
|
|
.> reset-root 2
|
|
```
|
|
```ucm:error
|
|
.> view y
|
|
```
|