GitHelper.CloneRepositoryCommandLine

Clones a repository using the Command Line Tooling. Provides built-in authentication UI.

public GitCommandResult CloneRepositoryCommandLine(string gitUrl,
	string localPath,
	Action<Object,DataReceivedEventArgs> progress,
	int depth)

Parameters

gitUrl
Github HTTP Url to retrieve content from

localPath
Local path where to clone to

progress
Callback method fired to indicate progress

depth
Depth of the Git revision history (shallow copy)


See also:

Class GitHelper

© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic