-
Notifications
You must be signed in to change notification settings - Fork 224
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
Run "dvc push" before running "git push"? #1765
Comments
I think we should also add |
Sounds good. |
Do you have any idea what's the difference between
|
For example, if you start with an up-to-date repository and run As an aside, I generally find |
pygmt/doc/contributing.md
Lines 640 to 641 in cd8dcef
The contributing guides tell that users should run
git push
thendvc push
.The problem is, when someone pushes changes to github (
git push
), thedvc-diff.yml
workflow will be triggered immediately.After the workflow starts, it will take about 45 seconds to set up everything and starts to pull images from DagsHub (i.e., running the
dvc pull
command). So it means that users must rundvc push
quickly after runninggit push
, otherwise thedvc-diff.yml
workflow will fail.From the commit message of e30c708, it seems that the order of
dvc push
andgit push
doesn't matter. I think runningdvc push
beforegit push
is a better and safer option.The text was updated successfully, but these errors were encountered: