git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cannot reset a repo
@ 2014-12-06 10:27 Martin Wendt
  2014-12-06 12:14 ` Torsten Bögershausen
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Wendt @ 2014-12-06 10:27 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

Hi,

I am facing this problem:

  - Using git version 1.9.3 (Apple Git-50)
  - cloned a fork from GitHub to my local machine:
https://github.com/mar10/cdnjs/
  - This repo seems to be broken in some way.
    At least it is not clean from the beginning and I am not able to reset
    `git reset --hard` only toggles the modified file from
".../sortable" to ".../Sortable" and back
    (see attached screenshot)

Is this a known problem (with case sensitivity)? Any suggestions how to
fix it?

Thanks
Martin


[-- Attachment #2: git-issue-1.png --]
[-- Type: image/png, Size: 56763 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cannot reset a repo
  2014-12-06 10:27 Cannot reset a repo Martin Wendt
@ 2014-12-06 12:14 ` Torsten Bögershausen
  2014-12-06 16:01   ` Martin Wendt
       [not found]   ` <B811B643-F86B-421E-8E2F-7D0F5235BE03@wwWendt.de>
  0 siblings, 2 replies; 4+ messages in thread
From: Torsten Bögershausen @ 2014-12-06 12:14 UTC (permalink / raw)
  To: Martin Wendt, git

On 2014-12-06 11.27, Martin Wendt wrote:
> Hi,
> 
> I am facing this problem:
> 
>   - Using git version 1.9.3 (Apple Git-50)
>   - cloned a fork from GitHub to my local machine:
> https://github.com/mar10/cdnjs/
>   - This repo seems to be broken in some way.
>     At least it is not clean from the beginning and I am not able to reset
>     `git reset --hard` only toggles the modified file from
> ".../sortable" to ".../Sortable" and back
>     (see attached screenshot)
> 
> Is this a known problem (with case sensitivity)? 
I think so
>Any suggestions how to  fix it?

Try to rename Sortable into Sortable.u:
git mv Sortable Sortable.upper
(When that does not work)
git mv sortable sortable.lower

If this is not an option, use a USB Stick, format it with HFS+ "case sensitive"
and clone the repo to the stick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cannot reset a repo
  2014-12-06 12:14 ` Torsten Bögershausen
@ 2014-12-06 16:01   ` Martin Wendt
       [not found]   ` <B811B643-F86B-421E-8E2F-7D0F5235BE03@wwWendt.de>
  1 sibling, 0 replies; 4+ messages in thread
From: Martin Wendt @ 2014-12-06 16:01 UTC (permalink / raw)
  To: Torsten Bögershausen; +Cc: Martin Wendt, git


> Am 06.12.2014 um 13:14 schrieb Torsten Bögershausen <tboegi@web.de>:
> 
> On 2014-12-06 11.27, Martin Wendt wrote:
>> Hi,
>> 
>> I am facing this problem:
>> 
>>  - Using git version 1.9.3 (Apple Git-50)
>>  - cloned a fork from GitHub to my local machine:
>> https://github.com/mar10/cdnjs/
>>  - This repo seems to be broken in some way.
>>    At least it is not clean from the beginning and I am not able to reset
>>    `git reset --hard` only toggles the modified file from
>> ".../sortable" to ".../Sortable" and back
>>    (see attached screenshot)
>> 
>> Is this a known problem (with case sensitivity)? 
> I think so
>> Any suggestions how to  fix it?
> 
> Try to rename Sortable into Sortable.u:
> git mv Sortable Sortable.upper
> (When that does not work)
> git mv sortable sortable.lower
> 
> If this is not an option, use a USB Stick, format it with HFS+ "case sensitive"
> and clone the repo to the stick
> 

Thanks for responding.
It is a fork of the 6GB cdnjs repository and I don't own the sortable lib. So renaming is not an option.
Also, I am working on a MacBook, which already has a case sensitive file system.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cannot reset a repo
       [not found]     ` <54842694.9030908@web.de>
@ 2014-12-07 15:34       ` Martin Wendt
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Wendt @ 2014-12-07 15:34 UTC (permalink / raw)
  To: Torsten Bögershausen, git

arghh, sorry that's embarrassing. I was sure that the Mac filesystem was case sensitive by default, because it's unix based...
Thanks for your  support.

> Am 07.12.2014 um 11:06 schrieb Torsten Bögershausen <tboegi@web.de>:
> 
> On 06.12.14 14:39, Martin Wendt wrote:
>>> Am 06.12.2014 um 13:14 schrieb Torsten Bögershausen <tboegi@web.de>:
>>> 
>>> On 2014-12-06 11.27, Martin Wendt wrote:
>>>> Hi,
>>>> 
>>>> I am facing this problem:
>>>> 
>>>> - Using git version 1.9.3 (Apple Git-50)
>>>> - cloned a fork from GitHub to my local machine:
>>>> https://github.com/mar10/cdnjs/
>>>> - This repo seems to be broken in some way.
>>>>   At least it is not clean from the beginning and I am not able to reset
>>>>   `git reset --hard` only toggles the modified file from
>>>> ".../sortable" to ".../Sortable" and back
>>>>   (see attached screenshot)
>>>> 
>>>> Is this a known problem (with case sensitivity)? 
>>> I think so
>>>> Any suggestions how to  fix it?
>>> Try to rename Sortable into Sortable.u:
>>> git mv Sortable Sortable.upper
>>> (When that does not work)
>>> git mv sortable sortable.lower
>>> 
>>> If this is not an option, use a USB Stick, format it with HFS+ "case sensitive"
>>> and clone the repo to the stick
>>> 
>> 
>> Thanks for responding.
>> It is a fork of the 6GB cdnjs repository and I don't own the sortable lib. So renaming is not an option.
> Can you fix it a send a pull request to the author on github ?
>> Also, I am working on a MacBook, which already has a case sensitive file system

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-07 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-06 10:27 Cannot reset a repo Martin Wendt
2014-12-06 12:14 ` Torsten Bögershausen
2014-12-06 16:01   ` Martin Wendt
     [not found]   ` <B811B643-F86B-421E-8E2F-7D0F5235BE03@wwWendt.de>
     [not found]     ` <54842694.9030908@web.de>
2014-12-07 15:34       ` Martin Wendt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).