|
|
@@ -251,10 +251,10 @@ changes.
|
|
|
|
|
|
### Undo changes
|
|
|
|
|
|
-Let's say you ask opencode to makes some changes.
|
|
|
+Let's say you ask opencode to make some changes.
|
|
|
|
|
|
```txt frame="none"
|
|
|
-Can you refator the function in @packages/functions/src/api/index.ts?
|
|
|
+Can you refactor the function in @packages/functions/src/api/index.ts?
|
|
|
```
|
|
|
|
|
|
But you realize that it is not what you wanted. You **can undo** the changes
|
|
|
@@ -268,7 +268,7 @@ opencode will now revert the changes you made and show your original message
|
|
|
again.
|
|
|
|
|
|
```txt frame="none"
|
|
|
-Can you refator the function in @packages/functions/src/api/index.ts?
|
|
|
+Can you refactor the function in @packages/functions/src/api/index.ts?
|
|
|
```
|
|
|
|
|
|
From here you can tweak the prompt and ask opencode to try again.
|