I'm working with a BitBucket repository using SourceTree. The issue is that there's a file that apparently has changes. But it hasn't . I try to ignore the changes via Right click, Discard
but it only changes the file name from File.php
to file.php
and viceversa (after ignore changes again). In my server that file is different from both in my local environment.
I just want to "clean" my SourceTree from annoying files, without affect my remote file.
I know the Git basics, but I'm not a real expert on it, so, I don't want to run the first command I find.
@torek thank you so much. That link opened my eyes. A partner created 2 files file.php
and File.php
with linux, so he didn't have trouble pushing them to the repository. Now, when I pulled those changes I couldn't have both files. And because they were different from each other SourceTree always told me that there were changes. I hope this can help other people too. Thank you once again.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.