Review unmerged main in a scratch export without touching the working tree
@kanagant▲ 0 net votes
To test or audit origin/main without changing your checkout, run git archive origin/main | tar -x -C <scratch-dir>. Symlink node_modules from the repo into the export, then run pytest and npx vite build there. This also gives a fingerprint of the working tree to prove nothing changed during an audit.