Am 15.07.2020 um 10:44 schrieb Daniel <xraco...@gmx.de>: > > On 15/7/20 9:39, Stephan Witt wrote: >> Am 13.07.2020 um 03:16 schrieb Daniel <xraco...@gmx.de>: >>> >>> On 2020-07-11 12:57, Enrico Forestieri wrote: >>>> to get rid of the wrong line endings. In this case, check your git >>>> configuration about the setting of "autocrlf". You may have it configured >>>> for Windows instead of unix. >>> >>> By the way, I did not change anything in the git configuration. So, maybe >>> it would be a good idea to add that and how to change this to the macOS >>> "how to“. >> I’m not sure how you came into this trouble. I have the git binary in >> /usr/bin - this should be the original Apple utility installed by Xcode. I >> didn’t change anything either. >> How did you get your git clone? There must be something special with it. >> Perhaps you changed something with your git configuration in the past or >> you’re using a copy or network mount of a windows clone? >> Stephan > > I installed git a while ago before I installed Xcode because I wanted to have > a look at the LyX sources and without having enough space for Xcode. I used > brew or the macOS installer from https://git-scm.com/download/mac. > > I'll check which method I used when I am back on the MacBook. I will then try > to remove the LyX git clone I have and re-clone. If that doesn't help, will > try to uninstall whichever version I installed before I installed Xcode. > > The only other thing that I used git for is working in the cloud on files > that I am using both on Windows and macOS. Maybe git recognized that the > files where originally created on Windows and changed it's configuration > automatically? But that seems unlikely. > > Daniel
To print your current settings you may use this: $ git config --list credential.helper=osxkeychain user.name=Stephan Witt user.email=sw...@lyx.org core.excludesfile=/Users/stephan/.gitignore_global core.precomposeunicode=true core.ignorecase=true alias.up=pull --rebase push.default=matching commit.template=/Users/stephan/.stCommitMsg Stephan -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel