On windows 8.1, immediately as i clone a repository to my hard drive, some filenames containing tilde (interestingly enough, not all of them) - instantly throw out an error. They immediately appear as deleted, and i cannot do anything to add them to the git index, ignore, delete from cache or whatever.
Apparently this is a fairly recent change in Git, dating since December 2014, and yes, the solution is as stated on the given link, to configure git with the following:
git config core.protectNTFS false
As the author says, i also recommend putting it back once the files are added to the index, with:
git config core.protectNTFS true
Here's the link to the author's reply:
http://stackoverflow.com/questions/29294910/unable-to-add-files-with-name-containing-tilde-followed-by-a-number
Niciun comentariu:
Trimiteți un comentariu