Git versus Mercurial for .NET developers?

前端 未结 7 2130
挽巷
挽巷 2021-01-31 17:19

I\'ve been wondering what is the better DVCS for .NET developers? From reading various information it has sounded like Mercurial works better on Windows, but other information

7条回答
  •  逝去的感伤
    2021-01-31 17:38

    I think that given git's exponential popularity growth, git's good support for windows (akin to that of subversion's with something like tortoiseSVN) is bound to arrive, it is only a matter of time. The two projects that seem to be the most popular are msysgit, and TortoiseGit (also uses msysgit) which is similar to tortoiseSVN. git keeps becoming more and more popular, that if you were to run into any problems which is unlikely now and is becoming even more unlikely as git tools on windows become further developed, you will be able to find fixes a lot easier due to the large userbase.

    In the meantime, I have found this series of guides to be very helpful.

    Issues you might run into may be ignoring certain files, which should be easy if you lookup how to use .gitignore, which is really straightforward, here is the list of files and wildcards that the series mentions:

    obj
    bin
    _ReSharper.*
    *.csproj.user
    *.resharper.user
    *.resharper
    *.suo
    *.cache
    *~
    *.swp
    

    Also I have seen some issues regarding line endings. For that, you will want to check out this question.

提交回复
热议问题