fix reset script
This commit is contained in:
parent
f6265aab4a
commit
0cd3fa0c75
1 changed files with 15 additions and 10 deletions
|
@ -1,16 +1,21 @@
|
|||
#! /bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
set -eu -o xtrace
|
||||
set -euxo pipefail
|
||||
|
||||
pushd lbry
|
||||
git tag -d $(git describe)
|
||||
git reset --hard origin/master
|
||||
popd
|
||||
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
|
||||
cd "$ROOT"
|
||||
|
||||
pushd lbryum
|
||||
git tag -d $(git describe)
|
||||
git reset --hard origin/master
|
||||
popd
|
||||
(
|
||||
cd lbry
|
||||
git tag -d $(git describe)
|
||||
git reset --hard origin/master
|
||||
)
|
||||
|
||||
(
|
||||
cd lbryum
|
||||
git tag -d $(git describe)
|
||||
git reset --hard origin/master
|
||||
)
|
||||
|
||||
git tag -d $(git describe)
|
||||
git reset --hard HEAD~1
|
||||
|
|
Loading…
Add table
Reference in a new issue