Replies: 1 comment 1 reply
-
Install successfully after I unset my gitclone.com.
Or it was a coincidence? Since url displays below shows that neither url before and after the unset have prefix as "gitclone.com/". fu@DESKTOP-GE6ATEH:~/foundry-cu/foundry-smart-contract-lottery-cu$ forge install transmissions11/solmate@v6 --no-commit
Installing solmate in /home/fu/foundry-cu/foundry-smart-contract-lottery-cu/lib/solmate (url: Some("https://github.com/transmissions11/solmate"), tag: Some("v6"))
error: Server does not allow request for unadvertised object 0a5da56b0d65960e6a994d2ec8245e6edd38c248
fatal: Fetched in submodule path 'lib/weird-erc20/lib/ds-test', but it did not contain 0a5da56b0d65960e6a994d2ec8245e6edd38c248. Direct fetching of that commit failed.
fatal: Failed to recurse into submodule path 'lib/weird-erc20'
Error: git submodule exited with code 128
fu@DESKTOP-GE6ATEH:~/foundry-cu/foundry-smart-contract-lottery-cu$ git config --global --unset url.https://gitclone.com/github.com/.insteadof
fu@DESKTOP-GE6ATEH:~/foundry-cu/foundry-smart-contract-lottery-cu$ git config --global --list
user.email==$$$$
user.name==%%%
http.postbuffer=1048576000
http.version=HTTP/1.1
http.compression=0
http.sslverify=true
https.postbuffer=1048576000
fu@DESKTOP-GE6ATEH:~/foundry-cu/foundry-smart-contract-lottery-cu$ forge install transmissions11/solmate@v6 --no-commit
Installing solmate in /home/fu/foundry-cu/foundry-smart-contract-lottery-cu/lib/solmate (url: Some("https://github.com/transmissions11/solmate"), tag: Some("v6"))
remote: Enumerating objects: 308, done.
remote: Counting objects: 100% (308/308), done.
remote: Compressing objects: 100% (135/135), done.
remote: Total 297 (delta 132), reused 255 (delta 118), pack-reused 0 (from 0)
Receiving objects: 100% (297/297), 49.02 KiB | 196.00 KiB/s, done.
Resolving deltas: 100% (132/132), completed with 6 local objects.
From https://github.com/dapphub/ds-test
* [new branch] assertNeq -> origin/assertNeq
* [new branch] dappnix -> origin/dappnix
* [new branch] windows-compat -> origin/windows-compat
Installed solmate v6 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hapeppens when using 'forge install' to initialize the project (Splitting the 'make install')
Beta Was this translation helpful? Give feedback.
All reactions