From: Hadi Safari Date: Thu, 16 Aug 2018 03:04:37 GMT Subject: Re: "Changes not staged for commit" after cloning a repo on macOS Message-ID: <3e0d7bd4-003e-60ea-ce1a-323ac49b4f71@hadisafari.ir> In-Reply-To: I checked line-ending but didn't think to file names. Thank you so much. On 25/5/1397 AP 1:36 AM, Bryan Turner wrote: > Taking a look at the repository's file list on GitHub[1], it shows > that this is because HFS and APFS by default are case-insensitive. > > The file listing shows that there is a "nanoc.gitignore" and > "Nanoc.gitignore". On APFS and HFS, those are the same file. As a > result, one overwrites the other. This is discussed pretty regularly > on the list[2], so you can find more details there. > > [1]: https://github.com/kevinxucs/Sublime-Gitignore/tree/master/boilerplates > [2]: https://public-inbox.org/git/24A09B73-B4D4-4C22-BC1B-41B22CB59FE6@gmail.com/ > is a fairly recent (fairly long) thread about this behavior. > -- Hadi Safari