Is HEAD in git case insensitive on all platforms?

前端 未结 4 1467
予麋鹿
予麋鹿 2021-01-11 16:07

Using msysgit on Windows, I can do this:

git checkout head

or

git checkout HEAD

Either works. I don\'t ha

4条回答
  •  甜味超标
    2021-01-11 16:24

    HEAD is case sensitive in Linux environment. As far as I know its case insensitive only in mysysgit.

    In Linux environment it gives : error: pathspec 'head' did not match any file(s) known to git.

提交回复
热议问题