Rather than hiding the export command in th private/ folder (where I might forget about it because it's not version controlled), put the export in a git-managed file and then cat the attributes from the private folder. Thanks to @jbabe for the idea.