Merge commits to one file