PDLPorters/pdla-io-hdf

Bring in PDLA::IO::HDF history

Closed this issue · 1 comments

As in PDLPorters/pdla-io-gd#2, steps are:

# make sure git-subtree is installed and works
# if not, get from https://github.com/git/git/blob/master/contrib/subtree/git-subtree.sh
# then place with +x in /usr/local/libexec/git-core/git-subtree)
KITCHENSINKREPO=$HOME/pdla
KITCHENSINKDIR=IO/HDF
SPLITOUTREPO=$HOME/pdla-io-hdf
SPLITBRANCH=splitout
MASTER=master
pushd $KITCHENSINKREPO
git subtree split -P $KITCHENSINKDIR -b $SPLITBRANCH
git push $SPLITOUTREPO $SPLITBRANCH:$SPLITBRANCH
git branch -D $SPLITBRANCH
cd $SPLITOUTREPO
git checkout $MASTER
git reset --hard $SPLITBRANCH
git branch -d $SPLITBRANCH
git push origin
popd

This is now done.