add script to reset each submodule

This commit is contained in:
jobevers 2017-03-06 10:34:37 -06:00
parent 5a2de41563
commit 33ffb322cc

21
reset.sh Executable file
View file

@ -0,0 +1,21 @@
#! /bin/bash
set -eu -o xtrace
pushd lbry
git tag -d $(git describe)
git reset --hard origin/master
popd
pushd lbry-web-ui
git tag -d $(git describe)
git reset --hard origin/development
popd
pushd lbryum
git tag -d $(git describe)
git reset --hard origin/master
popd
git tag -d $(git describe)
git reset --hard HEAD~1