Open xjjda22 opened 2 months ago
below commands will work:
forge install openZeppelin/openzeppelin-contracts --no-commit
reference: https://github.com/foundry-rs/foundry/issues/4096#issuecomment-1636710403
additional commands if still doesnt properly install:
forge install --no-commit --shallow OpenZeppelin/openzeppelin-contracts@v4.9.2
forge install openzeppelin-contracts-05=OpenZeppelin/openzeppelin-contracts@v2.5.0 openzeppelin-contracts-06=OpenZeppelin/openzeppelin-contracts@v3.4.0 openzeppelin-contracts-08=OpenZeppelin/openzeppelin-contracts@v4.8.3 --no-commit
Pull Request : (https://github.com/Cyfrin/2024-08-tadle/pull/4)
running this command shows below errors : The target directory is a part of or on its own an already initialized git repository, and it requires clean working and staging areas, including no untracked files.
Check the current git repository's status with
git status
. Then, you can track files withgit add ...
and then commit them withgit commit
, ignore them in the.gitignore
file, or run this command again with the--no-commit
flag.If none of the previous steps worked, please open an issue at: https://github.com/foundry-rs/foundry/issues/new/choose