Ws Reset banner
tinyhumansai tinyhumansai

Ws Reset

Git community

Description

--- description: Reset the current branch to main, fetch upstream, and update submodules. allowed-tools: Bash --- Run the following steps in order. Stop and surface the error if any step fails — do not paper over a failure. ```bash bash scripts/shortcuts/ws-reset.sh git status ``` The helper performs the destructive steps (`git fetch upstream`, `git checkout main`, `git reset --hard upstream/main`, `git submodule update --init --recursive`) behind a working-tree-dirty guard. Pass `--force` on

Installation

Installs to ~/.claude/commands/tinyhumansai-openhuman-ws-reset.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/tinyhumansai/openhuman/HEAD/.claude/commands/ws-reset.md -o ~/.claude/commands/tinyhumansai-openhuman-ws-reset.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository