Connecting to Git from UiPath

How to connect UiPath Studio to a Git repository? The Git URL for our repository is as below,

https://sunlightsolutions.visualstudio.com/DefaultCollection/SunlightSuite/_git/SunlightUIAutomation
the project folder is https://sunlightsolutions.visualstudio.com/DefaultCollection/SunlightSuite/_git/SunlightUIAutomation/SunlightRegressionTestSuite

I am using UiPath Studio 2018.4.1

I am getting the following error,

18.4.1+Branch.master.Sha.bc66386dd8e2160b6d35f31d5ce934a5aa4cf4bd

The requested mapping matches an existing mapping on server path (/SunlightSuite/SunlightUIAutomation/SunlightRegressionTestSuite to G:\Users\Repository\SunlightRegressionTestSuite) as well as a different mapping on local path (/SunlightSuite/_git/SunlightUIAutomation/SunlightRegressionTestSuite to C:\Users\karth\source\repos\SunlightUIAutomation\SunlightRegressionTestSuite) - remove one or both of these mappings before attempting to create this new mapping. This helps to prevent unintentionally destroying multiple existing mappings with a single command.

Error: Microsoft.TeamFoundation.VersionControl.Client.VersionControlException: The requested mapping matches an existing mapping on server path (/SunlightSuite/SunlightUIAutomation/SunlightRegressionTestSuite to G:\Users\Repository\SunlightRegressionTestSuite) as well as a different mapping on local path (/SunlightSuite/_git/SunlightUIAutomation/SunlightRegressionTestSuite to C:\Users\karth\source\repos\SunlightUIAutomation\SunlightRegressionTestSuite) - remove one or both of these mappings before attempting to create this new mapping. This helps to prevent unintentionally destroying multiple existing mappings with a single command.
at Microsoft.TeamFoundation.VersionControl.Client.Client.RemovePartialMatches(List1 folders, WorkingFolder workingFolder, Boolean isDelete) at Microsoft.TeamFoundation.VersionControl.Client.Client.InternalSetWorkingFolder(Workspace workspace, WorkingFolder workingFolder, Boolean isDelete) at Microsoft.TeamFoundation.VersionControl.Client.Workspace.CreateMapping(WorkingFolder mapping) at Microsoft.TeamFoundation.VersionControl.Client.Workspace.Map(String serverPath, String localPath) at UiPath.Studio.Plugin.SourceControl.TFS.WorkspaceWrapper.Map(String serverPath, String localPath) at UiPath.Studio.Plugin.SourceControl.TFS.TfsSourceControl.<>c__DisplayClass18_0.<MapLocalPathToProject>b__0(IWorkspace workspace) at UiPath.Studio.Plugin.SourceControl.TFS.WorkspaceBridge.ThreadSafeExecute[TResult](Func2 action, OperationRecord& operationRecordRecord)
at UiPath.Studio.Plugin.SourceControl.TFS.WorkspaceBridge.<>c__DisplayClass27_11.<ExecuteAsyncInternal>b__0(CancellationToken _) at UiPath.Shared.ProducerConsumerPair.<>c__DisplayClass18_01.b__0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.SourceControl.TFS.WorkspaceBridge.<ExecuteAsyncInternal>d__271.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Plugin.SourceControl.TFS.WorkspaceBridge.d__201.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.SourceControl.TFS.TfsSourceControl.<MapLocalPathToProject>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.SourceControl.TFS.TfsUiService.<CheckOutProject>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.SourceControl.TFS.TfsUiService.<CheckOut_ExecuteInternal>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.SourceControl.CentralRepositoryUiService.<CheckOut_Execute>d__49.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.SourceControl.CentralRepositoryUiService.<<get_CheckOutCommand>b__19_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Shared.MVVM.Commands.TaskCommand3.d__35.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146232832

how to remove one of the mapping already done?

Hi @k.karthikeyan

Fully supporting GIT is on our menu for the future releases, see here:

See here for the supported services: