add script to reset each submodule
This commit is contained in:
parent
5a2de41563
commit
33ffb322cc
1 changed files with 21 additions and 0 deletions
21
reset.sh
Executable file
21
reset.sh
Executable 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
|
Loading…
Reference in a new issue