Skip to content

Commit c2d17d8

Browse files
committed
add submodule tip [skip ci]
1 parent b804b82 commit c2d17d8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ forge build
5858
> npm install @openzeppelin/upgrades-core@latest -g
5959
> ```
6060
61+
> [!TIP]
62+
>
63+
> If at any point the submodules become "dirty" (e.g. there are local changes that you are unaware of) you can do:
64+
>
65+
> ```sh
66+
> git submodule deinit -f .
67+
> git submodule update --init --recursive --checkout
68+
> ```
69+
6170
### Updates
6271
6372
To update contracts to the latest library versions, use:
@@ -225,7 +234,7 @@ forge fmt ./src/**/*.sol ./script/**/*.sol
225234
If you have solhint installed, you can lint all contracts with:
226235

227236
```sh
228-
solhint 'src/**/*.sol'
237+
solhint 'src/**/*.sol' 'script/**/*.sol'
229238
```
230239

231240
## Documentation

0 commit comments

Comments
 (0)