how to add a commit tree manually