0

I have recently moved my SVN repositories to Git. One of the project using MSBuild to checkout SVN repository during the build process. Now I need to clone Git repository instead of SVN during the build process. I came cross the library https://github.com/loresoft/msbuildtasks/tree/master/Source/MSBuild.Community.Tasks and couldn't find a proper sample to do this. Can someone please help me ?

This is my SVN MSBuild code.

<SvnCheckout
    RepositoryPath="$(SiteSvnRepository)"
    LocalPath="$(SiteSvnCheckOutDir)"
    Username="$(SvnUsername)"
    Password="$(SvnPassword)"/>

Thanks

Chinthaka
  • 966
  • 1
  • 13
  • 42
  • 1
    Looking at https://github.com/loresoft/msbuildtasks/blob/master/Source/MSBuild.Community.Tasks/Git/GitClient.cs, probably something like and have authentication handled by git's config file? – stijn May 05 '16 at 06:18
  • Thanks. I am looking at this now. – Chinthaka May 05 '16 at 08:36

0 Answers0