Can I use mSysGit and Cygwin's git?

后端 未结 7 2192
野性不改
野性不改 2020-12-16 21:28

After migrating to Windows, I\'m using msysgit with its included bash shell, and that\'s working well for me. But I have issues: our ant build process won\'t run in that sh

7条回答
  •  无人及你
    2020-12-16 22:18

    Will Cygwin's git check out as \n and confuse my Windows Eclipse, which I'm sure wants everything to be \r\n?

    Most modern applications (including Eclipse) are perfectly capable of using \n only.

    There are a few annoying exceptions (e.g. email protocol), but in most cases you can stick to just using \n for everything.

    So, as VonC says, just disable the autocrlf setting and it'll be fine.

提交回复
热议问题