-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rush] rush change -v on shallow checkout is confusing #3805
Comments
2 tasks
What is the error? I guess if there is a Git error during any |
Fixed by #3668 - at the time we didn't have this update, I think it is now much more direct! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
By default, GitHub Actions performs a shallow clone (fetch depth1).
This means it is easy to get caught by an error when running rush change -v in a new pipeline. However, the error message is confusing and doesn't clearly indicate that the fetch depth could be the issue.
Repro steps
Run rush change -v in a shallow clone.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/rush
globally installed version?rushVersion
from rush.json?useWorkspaces
from rush.json?node -v
)?The text was updated successfully, but these errors were encountered: