Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git branch specific files

echo 'email.json merge=ours' >> .gitattributesgit add .gitattributesgit commit -m 'chore: Preserve email.json during merges'
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #git #branch #specific #files
ADD COMMENT
Topic
Name
7+9 =