Mac system, git just checkout out of the file, a check, found that has been modified, how to break???

Source: Internet
Author: User

As shown in:

In fact, nothing has been done since checkout, and why have these files been modified?

Check the other computer stored on the same set of source code, the original problem files are the same name file, but there is a case to distinguish it!!!

Linux systems can differentiate file name capitalization, but Mac by default is case-insensitive to file names.

Some netizens say you can reformat the hard disk, choose case-sensitive format.

In fact, this may pose some pitfalls, such as some applications may not be available.

So my compromise is to create a new partition specifically for the code that uses the file name case sensitivity.

Internet a search, found that a netizen also encountered a similar problem, are under the Mac to engage in Linux:

http://www.ituring.com.cn/article/215555

Mac system, git just checkout out of the file, a check, found that has been modified, how to break???

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.