Git make filename's first letter uppercase

I have a funny situation whereby I want to change a filename’s first letter to be uppercase and then git commit that change.

$ mv filename.ext Filename.ext
$ git add Filename.ext
$ git commit -m "Made filename title case."

But git (at least on OSX) does not see the change of case as a change at all, so there is nothing to commit.

  • what does git ignorecase really do? how to checkout respecting file capitalisation?
  • git conflict with differently cased directory name
  • How to apply a patch in Git which contains filename case changes?
  • Rename all Git branch names to lowercase on Windows (GitHub remote)
  • Is git not case sensitive?
  • Why are Github project document page urls case sensitive? What are the negative effects?
  • How can I change this file and commit that change?

  • Gerrit Trigger on multiple SCM in jenkins not working
  • Error installing cartalyst/sentinel
  • Git: How to get total number of +/- ( Insertions and Deletions) from a single git commit
  • Can't deploy Rails app via Capistrano
  • How To Use JGit To Do Equivalent Of “git push --mirror …”?
  • Can I amend a commit to the master branch from a new local branch?
  • One Solution collect form web for “Git make filename's first letter uppercase”

    The problem is the HFS+ (the Mac’s file system) is case insensitive. You can try git mv --force filename.ext Filename.ext.

    Git Baby is a git and github fan, let's start git clone.