Feature Request: Create Temporary Git Worktree To Deploy From When Pass Git Commit To Deployment

Hello not sure the best way to propose this idea.

Using AI I may have the AI work on the main project and while it is working may want to push the latest git commit from local drive that is not connected to git repository but using git locally.

Suggestion:

When usevercel --prod [COMMIT HASH]] perform the following:

git worktree add ../vercel-temp-deploy <commit-hash>

cd ../vercel-temp-deploy

vercel --prod

cd ../PROJECT-FOLDER

git worktree remove ../vercel-temp-deploy

This could be done by dynamically creating a bash or powershell script and running as separate terminal instance.

This will allow pushing to production from specific git commit while work is being done by AI, and avoid the whole git stash workflow which while AI is working is not feasible unless the AI pauses.