git merge without some files code example
Example 1: git branch specific files
echo 'email.json merge=ours' >> .gitattributesgit add .gitattributesgit commit -m 'chore: Preserve email.json during merges'
Example 2: git branch specific files
mkdir tmpcd tmpgit initgit commit --allow-empty -m "chore: Initial commit"