launch: add --HEAD

Closes #19576.