9 lines
314 B
Bash
Executable File
9 lines
314 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
target="${1:-$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)/MODIFIED_FILE.tsx}"
|
|
repo="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
|
|
|
|
git -C "$repo" show e72ef7da:apps/frontend/src/pages/admin/panels/WorkerDetailDrawer.tsx > "$target"
|
|
printf 'rollback restored e72ef7da content: %s\n' "$target"
|