resolve crlf error, overwrite HEAD with static portfolio