templates / branches--on commit builtin rebase: support --root (9dba809)
   1: this is just to ensure the directory exists.