If your Workflow states have Commit Verbs, you can change the workflow state of a Story via additional bracketed text commands within a commit message.
This commit will move the Story to the "Ready for Deploy" state.
It uses the designated verb "finish" in brackets in the commit. Both the verb and the story ID must be in brackets separated by a space.
Note: Commit Verbs will only advance a Story forward through started workflow states. They cannot be used to move a Story backwards through states.