unison/unison-src/transcripts/reflog.md
Paul Chiusano b7bf12081b
Add Author and License metadata types to builtins (#1228)
* Fix #1056 and add author and license metadata types

* Transcript demonstrating that the codebase is empty at first
2020-02-13 10:59:53 -05:00

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
```