Skip to content

Commit

Permalink
chore: 🤖 reset stage
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Nov 23, 2023
1 parent f0909d0 commit 212e985
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/update
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ wrkDir="/home/discord/droidscord"

cd "$wrkDir" || exit 1

if ! git reset --hard "$targetBranch"; then
echo "👹 Oops! Failed to clear stage"

exit 1
fi

if ! git checkout "$targetBranch"; then
echo "👹 Oops! Failed to switch branch"

Expand Down

0 comments on commit 212e985

Please sign in to comment.