From: Torsten Bögershausen Date: Sun, 18 Sep 2016 19:31:48 GMT Subject: Re: Gitattributes file is not respected when switching between branches Message-ID: In-Reply-To: On 16.09.16 08:51, Виталий Ищенко wrote: > Sorry for delay. > No problem about the delay. (And please no top-posting) If you say > ".gitattributes" indeed is not present in "master", but this is intentionally then nobody has (to my knowledge) thought about this situation/workflow yet. The short version: Git is designed to have the same .gitattributes in different branches. At least not in the long run. A typical use case is to create a repo, adjust the .gitattributes and keep this in all branches.