I encountered a 'fatal: invalid reference' error when running a script in WSL2 Ubuntu. The error occurred at a specific line in the Makefile.toml file. Eric suggested checking if the branch 'origin/dashboard-artifact' exists and fetching it if needed. After fetching the remote, the issue was resolved. How can I fix this error?
Lanqing Yang
Asked on May 07, 2023
Check if the branch 'origin/dashboard-artifact' exists in your local repository.
If the branch does not exist, fetch it from the remote repository using the following command:
git fetch origin dashboard-artifact