cs10 / bjc-r

The Beauty and Joy of Computing public resource repository.
https://beautyjoy.github.io/bjc-r
30 stars 100 forks source link

Everyone: Please Make Git Case Sensitive #178

Closed cycomachead closed 10 years ago

cycomachead commented 10 years ago

It seems like theres a couple places where caps in URLs and inconsistencies are causing problems.

Two things:

  1. All lowercase urls are better if possible.
  2. Make sure your computer is case sensitive. To fix it, do this in a terminal: (Definitely works for OS X, and should work for Git Shell. I think Ubuntu users don't need to do anything)
 git config --system core.ignorecase false
xtitter commented 10 years ago

This sucked.

Lesson 1: always make all paths fully lowercase.

2 never had two different paths that differ only by case. If you are going to fix the case of something accidentally committed, make it distinct in addition to lowering the case.

cycomachead commented 10 years ago

:/

Yeah, the trick seems to be git mv ... tmp and then commit and them move back.

Michael Ball http://www.michaelballphoto.com Photos & iPhone Apps!

On Mon, Jan 27, 2014 at 7:26 PM, Nate Titterton notifications@github.comwrote:

This sucked.

Lesson 1: always make all paths fully lowercase.

2 https://github.com/beautyjoy/bjc-r/issues/2 never had two different

paths that differ only by case. If you are going to fix the case of something accidentally committed, make it distinct in addition to lowering the case.

— Reply to this email directly or view it on GitHubhttps://github.com/beautyjoy/bjc-r/issues/178#issuecomment-33448267 .