Alexandre Bergel <[email protected]> writes:

> Also, if I understand correctly, at each new repository I need to create a 
> file .gitattributes :
>
> *.package/monticello.meta/version       merge=mcVersion
> *.package/*.class/methodProperties.json     merge=mcMethodProperties
> *.package/*.class/properties.json       merge=mcProperties
> *.package/*.extension/methodProperties.json     merge=mcMethodProperties
> *.package/*.extension/properties.json       merge=mcProperties

there are many potential places for these attributes:

- the git project level (you can even commit it so all contributors
  benefit from it)

- a top-level directory where git projects are cloned

- ~/.config/git/attributes if you want it for all your git projects
  (that's what I'm trying)

- /etc/gitattributes if you want it for all users of your environment

- anywhere provided the place is referenced in your global git configuration

Read http://git-scm.com/docs/gitattributes for more information

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

Reply via email to