Skip to content

Commit a7cbcb7

Browse files
committed
Add instructions for adding data hashes
1 parent d808826 commit a7cbcb7

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ This README file has instructions on how to get, validate and process the data.
1414
cd data
1515
curl -L https://figshare.com/ndownloader/files/{DATA_ID} -o group_data.tar
1616
tar xvf group_data.tar
17+
```
18+
19+
Add the hash_list file to Git:
20+
21+
```
22+
git add data/group-*/hash_list.txt
23+
git commit -m "Add hash list file"
24+
```
25+
26+
Change directory back to root of repository
27+
28+
```
1729
cd ..
1830
```
1931

data/.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Tell git to ignore everything
2-
*
3-
# Except the data hash list
4-
!data_hashes.txt
1+
# Tell git to ignore all subject files in group directory.
2+
group-*/sub*
3+
# Ignore .tar file
4+
*.tar

0 commit comments

Comments
 (0)