Skip to content

Commit

Permalink
Instruct to do git push first and then dvc push
Browse files Browse the repository at this point in the history
Technically the order shouldn't matter, but most
tutorials seem to use `git push` first so follow that.
  • Loading branch information
weiji14 committed Mar 16, 2021
1 parent 6bd7ba9 commit e30c708
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ proceeding with the next steps.
The entire workflow for generating or modifying baseline test images can be
summarized as follows:

# Sync with git and dvc remote
# Sync with both git and dvc remotes
git pull
dvc pull

Expand All @@ -487,10 +487,10 @@ summarized as follows:
git rm -r --cached 'pygmt/tests/baseline/test_logo.png' # optional
git add pygmt/tests/baseline/test_logo.png.dvc

# Commit changes and push to both the dvc and git remote
# Commit changes and push to both the git and dvc remotes
git commit -m "Add test_logo.png into DVC"
dvc push --remote upstream
git push
dvc push --remote upstream

### Documentation

Expand Down

0 comments on commit e30c708

Please sign in to comment.