{"thread":{"id":"38127","subject":"Cannot reset a repo","startedAt":"2014-12-06T10:27:34Z","lastAt":"2014-12-07T15:34:00Z","messageCount":4,"participants":["Martin Wendt","Torsten Bögershausen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"253238","messageId":"5482DA16.4080509@wwWendt.de","threadId":"38127","inReplyTo":null,"subject":"Cannot reset a repo","fromName":"Martin Wendt","fromEmail":"martin17@wwwendt.de","sentAt":"2014-12-06T10:27:34Z","receivedAt":"2014-12-06T10:27:34Z","isPatch":false,"sender":{"key":"martin17@wwwendt.de","avatar":null},"body":"Hi,\n\nI am facing this problem:\n\n  - Using git version 1.9.3 (Apple Git-50)\n  - cloned a fork from GitHub to my local machine:\nhttps://github.com/mar10/cdnjs/\n  - This repo seems to be broken in some way.\n    At least it is not clean from the beginning and I am not able to reset\n    `git reset --hard` only toggles the modified file from\n\".../sortable\" to \".../Sortable\" and back\n    (see attached screenshot)\n\nIs this a known problem (with case sensitivity)? Any suggestions how to\nfix it?\n\nThanks\nMartin\n\n"},{"id":"253239","messageId":"5482F32C.40709@web.de","threadId":"38127","inReplyTo":"5482DA16.4080509@wwWendt.de","subject":"Re: Cannot reset a repo","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2014-12-06T12:14:36Z","receivedAt":"2014-12-06T12:14:36Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"On 2014-12-06 11.27, Martin Wendt wrote:\n> Hi,\n> \n> I am facing this problem:\n> \n>   - Using git version 1.9.3 (Apple Git-50)\n>   - cloned a fork from GitHub to my local machine:\n> https://github.com/mar10/cdnjs/\n>   - This repo seems to be broken in some way.\n>     At least it is not clean from the beginning and I am not able to reset\n>     `git reset --hard` only toggles the modified file from\n> \".../sortable\" to \".../Sortable\" and back\n>     (see attached screenshot)\n> \n> Is this a known problem (with case sensitivity)? \nI think so\n>Any suggestions how to  fix it?\n\nTry to rename Sortable into Sortable.u:\ngit mv Sortable Sortable.upper\n(When that does not work)\ngit mv sortable sortable.lower\n\nIf this is not an option, use a USB Stick, format it with HFS+ \"case sensitive\"\nand clone the repo to the stick\n"},{"id":"253248","messageId":"C1046576-F27C-4C93-9C67-239FDAE46D23@wwWendt.de","threadId":"38127","inReplyTo":"5482F32C.40709@web.de","subject":"Re: Cannot reset a repo","fromName":"Martin Wendt","fromEmail":"martin@wwwendt.de","sentAt":"2014-12-06T16:01:22Z","receivedAt":"2014-12-06T16:01:22Z","isPatch":false,"sender":{"key":"martin@wwwendt.de","avatar":null},"body":"\n> Am 06.12.2014 um 13:14 schrieb Torsten Bögershausen <tboegi@web.de>:\n> \n> On 2014-12-06 11.27, Martin Wendt wrote:\n>> Hi,\n>> \n>> I am facing this problem:\n>> \n>>  - Using git version 1.9.3 (Apple Git-50)\n>>  - cloned a fork from GitHub to my local machine:\n>> https://github.com/mar10/cdnjs/\n>>  - This repo seems to be broken in some way.\n>>    At least it is not clean from the beginning and I am not able to reset\n>>    `git reset --hard` only toggles the modified file from\n>> \".../sortable\" to \".../Sortable\" and back\n>>    (see attached screenshot)\n>> \n>> Is this a known problem (with case sensitivity)? \n> I think so\n>> Any suggestions how to  fix it?\n> \n> Try to rename Sortable into Sortable.u:\n> git mv Sortable Sortable.upper\n> (When that does not work)\n> git mv sortable sortable.lower\n> \n> If this is not an option, use a USB Stick, format it with HFS+ \"case sensitive\"\n> and clone the repo to the stick\n> \n\nThanks for responding.\nIt is a fork of the 6GB cdnjs repository and I don't own the sortable lib. So renaming is not an option.\nAlso, I am working on a MacBook, which already has a case sensitive file system.\n"},{"id":"253283","messageId":"05564C98-ADF9-491F-A22B-A2523EDFB381@wwWendt.de","threadId":"38127","inReplyTo":"54842694.9030908@web.de","subject":"Re: Cannot reset a repo","fromName":"Martin Wendt","fromEmail":"martin@wwwendt.de","sentAt":"2014-12-07T15:34:00Z","receivedAt":"2014-12-07T15:34:00Z","isPatch":false,"sender":{"key":"martin@wwwendt.de","avatar":null},"body":"arghh, sorry that's embarrassing. I was sure that the Mac filesystem was case sensitive by default, because it's unix based...\nThanks for your  support.\n\n> Am 07.12.2014 um 11:06 schrieb Torsten Bögershausen <tboegi@web.de>:\n> \n> On 06.12.14 14:39, Martin Wendt wrote:\n>>> Am 06.12.2014 um 13:14 schrieb Torsten Bögershausen <tboegi@web.de>:\n>>> \n>>> On 2014-12-06 11.27, Martin Wendt wrote:\n>>>> Hi,\n>>>> \n>>>> I am facing this problem:\n>>>> \n>>>> - Using git version 1.9.3 (Apple Git-50)\n>>>> - cloned a fork from GitHub to my local machine:\n>>>> https://github.com/mar10/cdnjs/\n>>>> - This repo seems to be broken in some way.\n>>>>   At least it is not clean from the beginning and I am not able to reset\n>>>>   `git reset --hard` only toggles the modified file from\n>>>> \".../sortable\" to \".../Sortable\" and back\n>>>>   (see attached screenshot)\n>>>> \n>>>> Is this a known problem (with case sensitivity)? \n>>> I think so\n>>>> Any suggestions how to  fix it?\n>>> Try to rename Sortable into Sortable.u:\n>>> git mv Sortable Sortable.upper\n>>> (When that does not work)\n>>> git mv sortable sortable.lower\n>>> \n>>> If this is not an option, use a USB Stick, format it with HFS+ \"case sensitive\"\n>>> and clone the repo to the stick\n>>> \n>> \n>> Thanks for responding.\n>> It is a fork of the 6GB cdnjs repository and I don't own the sortable lib. So renaming is not an option.\n> Can you fix it a send a pull request to the author on github ?\n>> Also, I am working on a MacBook, which already has a case sensitive file system\n"}]}