This commit is contained in:
DavidD 2023-04-20 16:08:21 +00:00 committed by admin
parent 728a9ce995
commit 2de88e299f

View file

@ -21,7 +21,7 @@ SUB_DIR=/tmp/submodule-source
if [ -d $SUB_DIR ]; then
sudo rm -rf $SUB_DIR
fi
mkdir $SUB_DIR
mkdir -p $SUB_DIR
cd $SUB_DIR
git init
git annex init
@ -31,11 +31,11 @@ git annex add .
git commit -m "Add sub_file1.txt"
# setup parent dataset
PRNT_DIR=/tmp/submodules_annex
PRNT_DIR=/tmp/submodule-annex
if [ -d $PRNT_DIR ]; then
sudo rm -rf $PRNT_DIR
fi
mkdir $PRNT_DIR
mkdir -p $PRNT_DIR
cd $PRNT_DIR
git init
git annex init