1

When I originally type forge update I get returned this:

Error: fatal: Needed a single revision Unable to find current origin/v1.3.0 revision in submodule path 'lib/forge-std'

After following steps to update git to the latest version, (sudo apt-get update followed by sudo apt upgrade updated git for me. You can check what version you are using via git --version), I was able to get forge update to return only this:

Error: Unable to find current origin/v1.3.0 revision in submodule path 'lib/forge-std'

But how can I get it to not return an error message at all? Here is a related thread

1 Answer 1

0

I am not sure if the forge update command still works as expected, however, I was able to remove the error message by commenting out the branch = v1.3.0 line inside of my .gitmodules file. Thanks to this comment for the "cursed" solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.