clear template before git archive