Remove HEAD from scm