diff --git a/ci/dev/reset-vscode.sh b/ci/dev/reset-vscode.sh new file mode 100755 index 000000000..889ef369a --- /dev/null +++ b/ci/dev/reset-vscode.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail + +main() { + cd "$(dirname "$0")/../.." + + cd ./lib/vscode + git add -A + git reset --hard +} + +main "$@" diff --git a/package.json b/package.json index c504dff4e..c3681d1d1 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "vscode": "./ci/dev/vscode.sh", "vscode:patch": "./ci/dev/patch-vscode.sh", "vscode:diff": "./ci/dev/diff-vscode.sh", + "vscode:reset": "./ci/dev/reset-vscode.sh", "build": "./ci/build/build-code-server.sh", "build:vscode": "./ci/build/build-vscode.sh", "release": "./ci/build/build-release.sh",