Skip to content

Commit 1f06f9a

Browse files
weiji14seisman
andcommitted
Clarify that git rm -r --cached only needs to run during migration
Co-Authored-By: Dongdong Tian <seisman.info@gmail.com>
1 parent 93f6d6e commit 1f06f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@ summarized as follows:
483483
mv baseline/*.png pygmt/tests/baseline/
484484

485485
# Generate hash for baseline image and stage the *.dvc file in git
486+
git rm -r --cached 'pygmt/tests/baseline/test_logo.png' # only run if migrating existing image from git to dvc
486487
dvc add pygmt/tests/baseline/test_logo.png
487-
git rm -r --cached 'pygmt/tests/baseline/test_logo.png' # optional
488488
git add pygmt/tests/baseline/test_logo.png.dvc
489489

490490
# Commit changes and push to both the git and dvc remotes

0 commit comments

Comments
 (0)